Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-49839

MEDIUM 5.5EPSS 14%

scsi: scsi_transport_sas: Fix error handling in sas_phy_add()

Mitigation

  • Upgrade Linux to 5d7bebf2dfb0dc97aac1fbace0910e557ecdb16f or later.

Who should check

  • Anyone running Linux >= c7ebbbce366c02e5657ac6b6059933fe0353b175, < 03aabcb88aeeb7221ddb6196ae84ad5fb17b743f; >= c7ebbbce366c02e5657ac6b6059933fe0353b175, < 2f21d653c648735657e23948b1d7ac7273de0f87; >= c7ebbbce366c02e5657ac6b6059933fe0353b175, < c736876ee294bb4f271d76a25cc7d70c8537bc5d; >= c7ebbbce366c02e5657ac6b6059933fe0353b175, < 5d7bebf2dfb0dc97aac1fbace0910e557ecdb16f
  • Anyone running Linux 2.6.14

Vulnerability facts

Affected
Linux >= c7ebbbce366c02e5657ac6b6059933fe0353b175, < 03aabcb88aeeb7221ddb6196ae84ad5fb17b743f; >= c7ebbbce366c02e5657ac6b6059933fe0353b175, < 2f21d653c648735657e23948b1d7ac7273de0f87; >= c7ebbbce366c02e5657ac6b6059933fe0353b175, < c736876ee294bb4f271d76a25cc7d70c8537bc5d; >= c7ebbbce366c02e5657ac6b6059933fe0353b175, < 5d7bebf2dfb0dc97aac1fbace0910e557ecdb16f; Linux 2.6.14
Fixed in
Linux 03aabcb88aeeb7221ddb6196ae84ad5fb17b743f, Linux 2f21d653c648735657e23948b1d7ac7273de0f87, Linux 5d7bebf2dfb0dc97aac1fbace0910e557ecdb16f
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
5.5 (v3.1, CNA)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Local
  • Attack complexity: Low
  • Privileges required: Low
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
0.28% chance of exploitation in 30 days (percentile 14, 2026-11-26)
CWE
CWE-476
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: scsi: scsi_transport_sas: Fix error handling in sas_phy_add() If transport_add_device() fails in sas_phy_add(), the kernel will crash trying to delete the device in transport_remove_device() called from sas_remove_host(). Unable to handle kernel NULL pointer dereference at virtual address 0000000000000108 CPU: 61 PID: 42829 Comm: rmmod Kdump: loaded Tainted: G W 6.1.0-rc1+ #173 pstate: 60000005 (nZCv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--) pc : device_del+0x54/0x3d0 lr : device_del+0x37c/0x3d0 Call trace: device_del+0x54/0x3d0 attribute_container_class_device_del+0x28/0x38 transport_remove_classdev+0x6c/0x80 attribute_container_device_trigger+0x108/0x110 transport_remove_device+0x28/0x38 sas_phy_delete+0x30/0x60 [scsi_transport_sas] do_sas_phy_delete+0x6c/0x80 [scsi_transport_sas] device_for_each_child+0x68/0xb0 sas_remove_children+0x40/0x50 [scsi_transport_sas] sas_remove_host+0x20/0x38 [scsi_transport_sas] hisi_sas_remove+0x40/0x68 [hisi_sas_main] hisi_sas_v2_remove+0x20/0x30 [hisi_sas_v2_hw] platform_remove+0x2c/0x60 Fix this by checking and handling return value of transport_add_device() in sas_phy_add().

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= c7ebbbce366c02e5657ac6b6059933fe0353b175, < 03aabcb88aeeb7221ddb6196ae84ad5fb17b743f; >= c7ebbbce366c02e5657ac6b6059933fe0353b175, < 2f21d653c648735657e23948b1d7ac7273de0f87; >= c7ebbbce366c02e5657ac6b6059933fe0353b175, < c736876ee294bb4f271d76a25cc7d70c8537bc5d; >= c7ebbbce366c02e5657ac6b6059933fe0353b175, < 5d7bebf2dfb0dc97aac1fbace0910e557ecdb16f—cvelist
Linux2.6.14—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-49839. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-49839.md
Affected: Linux >= c7ebbbce366c02e5657ac6b6059933fe0353b175, < 03aabcb88aeeb7221ddb6196ae84ad5fb17b743f; >= c7ebbbce366c02e5657ac6b6059933fe0353b175, < 2f21d653c648735657e23948b1d7ac7273de0f87; >= c7ebbbce366c02e5657ac6b6059933fe0353b175, < c736876ee294bb4f271d76a25cc7d70c8537bc5d; >= c7ebbbce366c02e5657ac6b…
Fixed in: Linux 03aabcb88aeeb7221ddb6196ae84ad5fb17b743f, Linux 2f21d653c648735657e23948b1d7ac7273de0f87, Linux 5d7bebf2dfb0dc97aac1fbace0910e557ecdb16f

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-49839 being exploited?

There is no confirmed exploitation: CVE-2022-49839 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.28% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-49839?

Medium: CVSS 5.5 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2022-49839?

Linux >= c7ebbbce366c02e5657ac6b6059933fe0353b175, < 03aabcb88aeeb7221ddb6196ae84ad5fb17b743f; >= c7ebbbce366c02e5657ac6b6059933fe0353b175, < 2f21d653c648735657e23948b1d7ac7273de0f87; >= c7ebbbce366c02e5657ac6b6059933fe0353b175, < c736876ee294bb4f271d76a25cc7d70c8537bc5d; >= c7ebbbce366c02e5657ac6b6059933fe0353b175, < 5d7bebf2dfb0dc97aac1fbace0910e557ecdb16f; Linux 2.6.14.

Is there a fix for CVE-2022-49839?

Yes. Fixed in Linux 03aabcb88aeeb7221ddb6196ae84ad5fb17b743f, Linux 2f21d653c648735657e23948b1d7ac7273de0f87, Linux 5d7bebf2dfb0dc97aac1fbace0910e557ecdb16f. Upgrade Linux to 5d7bebf2dfb0dc97aac1fbace0910e557ecdb16f or later.

How do I check if I'm affected by CVE-2022-49839?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors