scsi: libfc: Fix use after free in fc_exch_abts_resp()
In the Linux kernel, the following vulnerability has been resolved: scsi: libfc: Fix use after free in fc_exch_abts_resp() fc_exch_release(ep) will decrease the ep's reference count. When the reference count reaches zero, it is freed. But ep is still used in the following code, which will lead to a use after free. Return after the fc_exch_release() call to avoid use after free.
- Products
- Kernel
- Affected versions
- Not specified
- Fixed versions
- 4.14.276, 4.19.238, 4.9.311, 5.10.111, 5.15.34, 5.16.20, 5.17.3, 5.4.189
- CVEs
- CVE-2022-49114
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 2 Nov 2026, 17:03 UTC · Revision 1
Source evidence
scsi: libfc: Fix use after free in fc_exch_abts_resp()
core-osv · Original sourcePublished 26 Feb 2025, 01:54 UTC
In the Linux kernel, the following vulnerability has been resolved: scsi: libfc: Fix use after free in fc_exch_abts_resp() fc_exch_release(ep) will decrease the ep's reference count. When the reference count reaches zero, it is freed. But ep is still used in the following code, which will lead to a use after free. Return after the fc_exch_release() call to avoid use after free.
osv:CVE-2022-49114
Kernel
Fixed versions: 4.9.311, 4.14.276, 4.19.238, 5.4.189, 5.10.111, 5.15.34, 5.16.20, 5.17.3
Complete source record
{
"id": "1326ed743dd4c5ae154b975bdad0c1a4e8e1b4fbb82ae1e8aa43c5c053b10159",
"url": "https://osv.dev/vulnerability/CVE-2022-49114",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "scsi: libfc: Fix use after free in fc_exch_abts_resp()",
"summary": "In the Linux kernel, the following vulnerability has been resolved: scsi: libfc: Fix use after free in fc_exch_abts_resp() fc_exch_release(ep) will decrease the ep's reference count. When the reference count reaches zero, it is freed. But ep is still used in the following code, which will lead to a use after free. Return after the fc_exch_release() call to avoid use after free.",
"evidence": "osv:CVE-2022-49114",
"products": [
{
"name": {
"value": "Kernel",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "4.9.311",
"evidence": "/affected/1/ranges"
},
{
"value": "4.14.276",
"evidence": "/affected/1/ranges"
},
{
"value": "4.19.238",
"evidence": "/affected/1/ranges"
},
{
"value": "5.4.189",
"evidence": "/affected/1/ranges"
},
{
"value": "5.10.111",
"evidence": "/affected/1/ranges"
},
{
"value": "5.15.34",
"evidence": "/affected/1/ranges"
},
{
"value": "5.16.20",
"evidence": "/affected/1/ranges"
},
{
"value": "5.17.3",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2022-49114",
"aliases": [
"CVE-2022-49114"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
"type": "GIT",
"events": [
{
"introduced": "42e9a92fe6a9095bd68a379aaec7ad2be0337f7a"
},
{
"fixed": "4a131d4ea8b581ac9b01d3a72754db4848be3232"
},
{
"fixed": "499d198494e77b6533251b9b909baf5c101129cb"
},
{
"fixed": "6044ad64f41c87382cfeeca281573d1886d80cbe"
},
{
"fixed": "5cf2ce8967b0d98c8cfa4dc42ef4fcf080f5c836"
},
{
"fixed": "1d7effe5fff9d28e45e18ac3a564067c7ddfe898"
},
{
"fixed": "f581df412bc45c95176e3c808ee2839c05b2ab0c"
},
{
"fixed": "87909291762d08fdb60d19069d7a89b5b308d0ef"
},
{
"fixed": "412dd8299b02e4410fe77b8396953c1a8dde183a"
},
{
"fixed": "271add11994ba1a334859069367e04d2be2ebdd4"
}
]
}
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49114.json"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "2.6.29"
},
{
"fixed": "4.9.311"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.10.0"
},
{
"fixed": "4.14.276"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.15.0"
},
{
"fixed": "4.19.238"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "4.20.0"
},
{
"fixed": "5.4.189"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.5.0"
},
{
"fixed": "5.10.111"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.11.0"
},
{
"fixed": "5.15.34"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.16.0"
},
{
"fixed": "5.16.20"
}
]
},
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "5.17.0"
},
{
"fixed": "5.17.3"
}
]
}
],
"package": {
"name": "Kernel",
"ecosystem": "Linux"
},
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-49114.json"
}
}
],
"modified": "2026-10-28T02:30:21.798379333Z",
"provider": "osv",
"references": [
"https://git.kernel.org/stable/c/1d7effe5fff9d28e45e18ac3a564067c7ddfe898",
"https://git.kernel.org/stable/c/271add11994ba1a334859069367e04d2be2ebdd4",
"https://git.kernel.org/stable/c/412dd8299b02e4410fe77b8396953c1a8dde183a",
"https://git.kernel.org/stable/c/499d198494e77b6533251b9b909baf5c101129cb",
"https://git.kernel.org/stable/c/4a131d4ea8b581ac9b01d3a72754db4848be3232",
"https://git.kernel.org/stable/c/5cf2ce8967b0d98c8cfa4dc42ef4fcf080f5c836",
"https://git.kernel.org/stable/c/6044ad64f41c87382cfeeca281573d1886d80cbe",
"https://git.kernel.org/stable/c/87909291762d08fdb60d19069d7a89b5b308d0ef",
"https://git.kernel.org/stable/c/f581df412bc45c95176e3c808ee2839c05b2ab0c",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49114.json",
"https://nvd.nist.gov/vuln/detail/CVE-2022-49114",
"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"
],
"provider_metadata": {
"cna_assigner": "Linux",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49114.json"
}
},
"related_cves": [
{
"value": "CVE-2022-49114",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 487455,
"published_at": "2025-02-26T01:54:58.172+00:00"
}