In the Linux kernel, the following vulnerability has been resolved:
scsi: qedf: Fix refcount issue when LOGO is received during TMF
Hung task call trace was seen during LOGO processing.
[ 974.309625] host1: rport 016900: Received LOGO request while in state Ready [ 974.309627] host1: rport 016900: Delete port [ 974.309642] host1: rport 016900: work event 3 [ 974.309644] host1: rport 016900: lld callback ev 3 [ 984.031088] INFO: task jbd2/dm-15-8:7645 blocked for more than 120 seconds. [ 984.031136] Not tainted 4.18.0-305.el8.x86_64 #1
[ 984.031166] "echo 0 > /proc/sys/kernel/hungtasktimeoutsecs" disables this message. [ 984.031209] jbd2/dm-15-8 D 0 7645 2 0x80004080 [ 984.031212] Call Trace: [ 984.031222] _schedule+0x2c4/0x700 [ 984.031230] ? unfreezepartials.isra.83+0x16e/0x1a0 [ 984.031233] ? bitwaittimeout+0x90/0x90 [ 984.031235] schedule+0x38/0xa0 [ 984.031238] ioschedule+0x12/0x40 [ 984.031240] bitwaitio+0xd/0x50 [ 984.031243] _waitonbit+0x6c/0x80 [ 984.031248] ? freebufferhead+0x21/0x50 [ 984.031251] outoflinewaitonbit+0x91/0xb0 [ 984.031257] ? initwaitvarentry+0x50/0x50 [ 984.031268] jbd2journalcommittransaction+0x112e/0x19f0 [jbd2] [ 984.031280] kjournald2+0xbd/0x270 [jbd2] [ 984.031284] ? finishwait+0x80/0x80 [ 984.031291] ? committimeout+0x10/0x10 [jbd2] [ 984.031294] kthread+0x116/0x130 [ 984.031300] ? kthreadflushworkfn+0x10/0x10 [ 984.031305] retfrom_fork+0x1f/0x40
There was a ref count issue when LOGO is received during TMF. This leads to one of the I/Os hanging with the driver. Fix the ref count.
[
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7fcbed38503bb34c6e6538b6a9482d1c6bead1e8",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-48823-0b5c730c",
"target": {
"file": "drivers/scsi/qedf/qedf_io.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"168417187712600838399234517116964960016",
"60192429301392852624592703531727504878",
"41360598252232203889218948967544188218",
"82213265529443003528169239398155961754"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5239ab63f17cee643bd4bf6addfedebaa7d4f41e",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-48823-152b456e",
"target": {
"file": "drivers/scsi/qedf/qedf_io.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"168417187712600838399234517116964960016",
"60192429301392852624592703531727504878",
"41360598252232203889218948967544188218",
"82213265529443003528169239398155961754"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7fcbed38503bb34c6e6538b6a9482d1c6bead1e8",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-48823-2c5ae15d",
"target": {
"function": "qedf_initiate_cleanup",
"file": "drivers/scsi/qedf/qedf_io.c"
},
"signature_type": "Function",
"digest": {
"length": 2865.0,
"function_hash": "250133549573653592983963593271969233835"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6be8eaad75ca73131e2a697f0270dc8ee73814a8",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-48823-4ca12fb4",
"target": {
"file": "drivers/scsi/qedf/qedf_io.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"168417187712600838399234517116964960016",
"60192429301392852624592703531727504878",
"41360598252232203889218948967544188218",
"82213265529443003528169239398155961754"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7cc32ff0cd6c44a3c26de5faecfe8b5546198fad",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-48823-68076255",
"target": {
"file": "drivers/scsi/qedf/qedf_io.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"168417187712600838399234517116964960016",
"60192429301392852624592703531727504878",
"41360598252232203889218948967544188218",
"82213265529443003528169239398155961754"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5239ab63f17cee643bd4bf6addfedebaa7d4f41e",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-48823-7830b785",
"target": {
"function": "qedf_initiate_cleanup",
"file": "drivers/scsi/qedf/qedf_io.c"
},
"signature_type": "Function",
"digest": {
"length": 2865.0,
"function_hash": "250133549573653592983963593271969233835"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@87f187e5265bc8e3b38faef8b9db864cdd61dde7",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-48823-a1f3337d",
"target": {
"function": "qedf_initiate_cleanup",
"file": "drivers/scsi/qedf/qedf_io.c"
},
"signature_type": "Function",
"digest": {
"length": 2865.0,
"function_hash": "250133549573653592983963593271969233835"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@87f187e5265bc8e3b38faef8b9db864cdd61dde7",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-48823-b22a5f41",
"target": {
"file": "drivers/scsi/qedf/qedf_io.c"
},
"signature_type": "Line",
"digest": {
"threshold": 0.9,
"line_hashes": [
"168417187712600838399234517116964960016",
"60192429301392852624592703531727504878",
"41360598252232203889218948967544188218",
"82213265529443003528169239398155961754"
]
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@7cc32ff0cd6c44a3c26de5faecfe8b5546198fad",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-48823-b509ed7e",
"target": {
"function": "qedf_initiate_cleanup",
"file": "drivers/scsi/qedf/qedf_io.c"
},
"signature_type": "Function",
"digest": {
"length": 2890.0,
"function_hash": "79344185620498511520085374547285200562"
}
},
{
"source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6be8eaad75ca73131e2a697f0270dc8ee73814a8",
"signature_version": "v1",
"deprecated": false,
"id": "CVE-2022-48823-fac9dd02",
"target": {
"function": "qedf_initiate_cleanup",
"file": "drivers/scsi/qedf/qedf_io.c"
},
"signature_type": "Function",
"digest": {
"length": 2865.0,
"function_hash": "250133549573653592983963593271969233835"
}
}
]