CVE-2022-49114

scsi: libfc: Fix use after free in fc_exch_abts_resp()

HIGH
8.8
CVSS Score
Published: February 26, 2025 at 01:54 AM UTC
Updated: August 5, 2026 at 09:24 AM UTC
1 product affected across 1 vendorLinux Kernel

Using Linux by Linux?

Get instant alerts when new vulnerabilities affect Linux - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
HIGH8.8
Exploit prediction
EPSS 0.4%
SSVC
No known exploit

Description

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 4.9.3112.6.29 ≤ v < 4.14.2762.6.29 ≤ v < 4.19.2382.6.29 ≤ v < 4.9.3112.6.29 ≤ v < 5.10.1112.6.29 ≤ v < 5.15.342.6.29 ≤ v < 5.16.202.6.29 ≤ v < 5.17.32.6.29 ≤ v < 5.182.6.29 ≤ v < 5.4.1894.10 ≤ v < 4.14.2764.15 ≤ v < 4.19.2384.20 ≤ v < 5.4.1895.11 ≤ v < 5.15.345.16 ≤ v < 5.16.205.17 ≤ v < 5.17.35.5 ≤ v < 5.10.1112.6.2942e9a92fe6a9095bd68a379aaec7ad2be0337f7a
Vendor states this is fixed in 1d7effe5fff9d28e45e18ac3a564067c7ddfe898 (fixed)
Vendor states this is fixed in 271add11994ba1a334859069367e04d2be2ebdd4 (fixed)
Vendor states this is fixed in 412dd8299b02e4410fe77b8396953c1a8dde183a (fixed)
Vendor states this is fixed in 499d198494e77b6533251b9b909baf5c101129cb (fixed)
Vendor states this is fixed in 4a131d4ea8b581ac9b01d3a72754db4848be3232 (fixed)
Vendor states this is fixed in 5cf2ce8967b0d98c8cfa4dc42ef4fcf080f5c836 (fixed)
Vendor states this is fixed in 6044ad64f41c87382cfeeca281573d1886d80cbe (fixed)
Vendor states this is fixed in 87909291762d08fdb60d19069d7a89b5b308d0ef (fixed)
Vendor states this is fixed in f581df412bc45c95176e3c808ee2839c05b2ab0c (fixed)
Vendor states this is fixed in 2.6.29 (unaffected)
Vendor states this is fixed in 4.14.276 (unaffected)
Vendor states this is fixed in 4.19.238 (unaffected)
Vendor states this is fixed in 4.9.311 (unaffected)
Vendor states this is fixed in 5.10.111 (unaffected)
Vendor states this is fixed in 5.15.34 (unaffected)
Vendor states this is fixed in 5.16.20 (unaffected)
Vendor states this is fixed in 5.17.3 (unaffected)
Vendor states this is fixed in 5.18 (unaffected)
Vendor states this is fixed in 5.4.189 (unaffected)

References (9)

Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/1d7effe5fff9d28e45e18ac3a564067c7ddfe898
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/271add11994ba1a334859069367e04d2be2ebdd4
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/412dd8299b02e4410fe77b8396953c1a8dde183a
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/499d198494e77b6533251b9b909baf5c101129cb
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/4a131d4ea8b581ac9b01d3a72754db4848be3232
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/5cf2ce8967b0d98c8cfa4dc42ef4fcf080f5c836
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/6044ad64f41c87382cfeeca281573d1886d80cbe
Patch
Source: 416baaa9-dc9f-4396-8d5f-8c081fb06d67
https://git.kernel.org/stable/c/87909291762d08fdb60d19069d7a89b5b308d0ef

SSVC — Action Prioritization

SSVCNo known exploitNot automatableTotal impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

8.8HIGHLinux
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-416

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card