{
  "_class" : "hudson.matrix.MatrixBuild",
  "actions" : [
    {
      "_class" : "hudson.model.CauseAction",
      "causes" : [
        {
          "_class" : "hudson.triggers.SCMTrigger$SCMTriggerCause",
          "shortDescription" : "Started by an SCM change"
        }
      ]
    },
    {
      
    },
    {
      "_class" : "hudson.model.ParametersAction",
      "parameters" : [
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "BRANCH",
          "value" : "master"
        },
        {
          "_class" : "hudson.model.StringParameterValue",
          "name" : "EMAIL_NOTIFICATIONS",
          "value" : "jenkins-notifications@lists.osmocom.org laforge@gnumonks.org"
        }
      ]
    },
    {
      "_class" : "jenkins.metrics.impl.TimeInQueueAction",
      "blockedDurationMillis" : 0,
      "blockedTimeMillis" : 0,
      "buildableDurationMillis" : 0,
      "buildableTimeMillis" : 0,
      "buildingDurationMillis" : 193440,
      "executingTimeMillis" : 193440,
      "executorUtilization" : 1.0,
      "subTaskCount" : 0,
      "waitingDurationMillis" : 9639,
      "waitingTimeMillis" : 9639
    },
    {
      
    },
    {
      "_class" : "hudson.plugins.git.util.BuildData",
      "buildsByBranchName" : {
        "origin/master" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 29076,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "44efd5b20b50ab894ed32ada3340fb5507b4852b",
            "branch" : [
              {
                "SHA1" : "44efd5b20b50ab894ed32ada3340fb5507b4852b",
                "name" : "origin/master"
              }
            ]
          },
          "revision" : {
            "SHA1" : "44efd5b20b50ab894ed32ada3340fb5507b4852b",
            "branch" : [
              {
                "SHA1" : "44efd5b20b50ab894ed32ada3340fb5507b4852b",
                "name" : "origin/master"
              }
            ]
          }
        },
        "refs/remotes/origin/master" : {
          "_class" : "hudson.plugins.git.util.Build",
          "buildNumber" : 20229,
          "buildResult" : None,
          "marked" : {
            "SHA1" : "fc3397253054bd6bf6b11db0436bf8112e80adb1",
            "branch" : [
              {
                "SHA1" : "fc3397253054bd6bf6b11db0436bf8112e80adb1",
                "name" : "refs/remotes/origin/master"
              }
            ]
          },
          "revision" : {
            "SHA1" : "fc3397253054bd6bf6b11db0436bf8112e80adb1",
            "branch" : [
              {
                "SHA1" : "fc3397253054bd6bf6b11db0436bf8112e80adb1",
                "name" : "refs/remotes/origin/master"
              }
            ]
          }
        }
      },
      "lastBuiltRevision" : {
        "SHA1" : "44efd5b20b50ab894ed32ada3340fb5507b4852b",
        "branch" : [
          {
            "SHA1" : "44efd5b20b50ab894ed32ada3340fb5507b4852b",
            "name" : "origin/master"
          }
        ]
      },
      "remoteUrls" : [
        "https://gerrit.osmocom.org/osmo-bsc"
      ],
      "scmName" : ""
    },
    {
      
    },
    {
      
    },
    {
      "_class" : "org.jenkinsci.plugins.displayurlapi.actions.RunDisplayAction"
    }
  ],
  "artifacts" : [
    
  ],
  "building" : False,
  "description" : None,
  "displayName" : "#29076",
  "duration" : 193440,
  "estimatedDuration" : 146367,
  "executor" : None,
  "fullDisplayName" : "master-osmo-bsc #29076",
  "id" : "29076",
  "inProgress" : False,
  "keepLog" : False,
  "number" : 29076,
  "queueId" : 24271,
  "result" : "SUCCESS",
  "timestamp" : 1770224590709,
  "url" : "https://jenkins.osmocom.org/jenkins/job/master-osmo-bsc/29076/",
  "builtOn" : "",
  "changeSet" : {
    "_class" : "hudson.plugins.git.GitChangeSetList",
    "items" : [
      {
        "_class" : "hudson.plugins.git.GitChangeSet",
        "affectedPaths" : [
          "src/osmo-bsc/lb.c"
        ],
        "commitId" : "e6801c14297ea8e929448815d993e9502d829e94",
        "timestamp" : 1770024986000,
        "author" : {
          "absoluteUrl" : "https://jenkins.osmocom.org/jenkins/user/pespin",
          "fullName" : "Pau Espin Pedrol"
        },
        "authorEmail" : "pespin@sysmocom.de",
        "comment" : "Lb: Handle SCCP N-NOTICE.ind\u000a\u000aChange-Id: I689bf2f2c4311fbc1da92f02c27078a1c00dda1a\u000a",
        "date" : "2026-02-02 10:36:26 +0100",
        "id" : "e6801c14297ea8e929448815d993e9502d829e94",
        "msg" : "Lb: Handle SCCP N-NOTICE.ind",
        "paths" : [
          {
            "editType" : "edit",
            "file" : "src/osmo-bsc/lb.c"
          }
        ]
      },
      {
        "_class" : "hudson.plugins.git.GitChangeSet",
        "affectedPaths" : [
          "src/osmo-bsc/lb.c"
        ],
        "commitId" : "b75705b76a641142c513917449a69517724a9512",
        "timestamp" : 1770024997000,
        "author" : {
          "absoluteUrl" : "https://jenkins.osmocom.org/jenkins/user/pespin",
          "fullName" : "Pau Espin Pedrol"
        },
        "authorEmail" : "pespin@sysmocom.de",
        "comment" : "Lb: Handle N-PCSTATE.ind\u000a\u000aChange-Id: I16900b9c2b840d4c7d8471c1f69b19601e892b2d\u000a",
        "date" : "2026-02-02 10:36:37 +0100",
        "id" : "b75705b76a641142c513917449a69517724a9512",
        "msg" : "Lb: Handle N-PCSTATE.ind",
        "paths" : [
          {
            "editType" : "edit",
            "file" : "src/osmo-bsc/lb.c"
          }
        ]
      },
      {
        "_class" : "hudson.plugins.git.GitChangeSet",
        "affectedPaths" : [
          "src/osmo-bsc/assignment_fsm.c"
        ],
        "commitId" : "44efd5b20b50ab894ed32ada3340fb5507b4852b",
        "timestamp" : 1770035588000,
        "author" : {
          "absoluteUrl" : "https://jenkins.osmocom.org/jenkins/user/pespin",
          "fullName" : "Pau Espin Pedrol"
        },
        "authorEmail" : "pespin@sysmocom.de",
        "comment" : "assignment_fsm: Fix use-after-free of lchan->conn\u000a\u000aScenario:\u000a* A DYNAMIC/OSMOCOM TS in PDCH mode is selected to be used for TCH/F,\u000a  hence the TS is being switched to TCH/F: RF Channel Release is being\u000a  transmitted and waiting to receive RF Channel release ACK. Hence,\u000a  lchan is in state LCHAN_ST_WAIT_TS_READY, and there's a conn with an\u000a  assignment FSM pointing to it in conn->assignment.new_lchan.\u000a  lchan->conn also points to the related conn.\u000a* The BSSMAP SCCP link goes down (link lost), which will terminate the\u000a  conn->fi of all conns related to the MSC peer going down.\u000a  During that teardown, first gscon_pre_term()->gscon_release_lchans()->\u000a  assignment_reset() is called, which sets\u000a  conn->assignment.new_lchan=NULL and calls lchan_release(). This path\u000a  leaves conn->assignment.new_lchan->conn untouched!\u000a* Later in the call path, when finally the bsc_subscr is put() to 0\u000a  references and associated lchan gets its lchan_forget_conn() called,\u000a  it will access lchan->conn which was not freed in the previous step\u000a  mentioned above during assignment_reset().\u000a\u000aThis patch fixes the issue by adding a lchan_forget_conn() after the\u000alchan_release() in assignment_reset(), to make sure the conn is no\u000alonger user by the lchan afterwards.\u000a\u000aRelated: OS#6936\u000aChange-Id: Ifbb9a61cd8a40d953ef5c2b52f9be9ef0dffefa4\u000a",
        "date" : "2026-02-02 13:33:08 +0100",
        "id" : "44efd5b20b50ab894ed32ada3340fb5507b4852b",
        "msg" : "assignment_fsm: Fix use-after-free of lchan->conn",
        "paths" : [
          {
            "editType" : "edit",
            "file" : "src/osmo-bsc/assignment_fsm.c"
          }
        ]
      }
    ],
    "kind" : "git"
  },
  "culprits" : [
    {
      "absoluteUrl" : "https://jenkins.osmocom.org/jenkins/user/pespin",
      "fullName" : "Pau Espin Pedrol"
    }
  ],
  "runs" : [
    {
      "number" : 29076,
      "url" : "https://jenkins.osmocom.org/jenkins/job/master-osmo-bsc/a1=default,a2=default,a3=default,a4=default,label=osmocom-master/29076/"
    }
  ]
}