Skip to main content
Network Thinking Solutions Logo

CVE-2022-49376

In the Linux kernel, the following vulnerability has been resolved: scsi: sd: Fix potential NULL pointer dereference If sd_probe() sees an early error before sdkp->device is initialized, sd_zbc_release_disk() is called.

All CVEs
CVE-2022-49376Published 2/26/2025

In the Linux kernel, the following vulnerability has been resolved: scsi: sd: Fix potential NULL pointer dereference If sd_probe() sees an early error before sdkp->device is initialized, sd_zbc_release_disk() is called.

Vendor advisory
CVSS5.5Medium

Overview

In the Linux kernel, the following vulnerability has been resolved: scsi: sd: Fix potential NULL pointer dereference If sd_probe() sees an early error before sdkp->device is initialized, sd_zbc_release_disk() is called. This causes a NULL pointer dereference when sd_is_zoned() is called inside that function. Avoid this by removing the call to sd_zbc_release_disk() in sd_probe() error path. This change is safe and does not result in zone information memory leakage because the zone information for a zoned disk is allocated only when sd_revalidate_disk() is called, at which point sdkp->disk_dev is fully set, resulting in sd_disk_release() being called when needed to cleanup a disk zone information using sd_zbc_release_disk().

Published
2/26/2025
Last modified
6/17/2026
CVE assigner
Not available
NVD analysis
Not available

Exploitation

No CISA KEV flag in the saved record

An absent KEV flag does not establish that exploitation has never occurred. Verify current intelligence before prioritizing work.

EPSS predictions and CISA SSVC assessments are not imported here. Review additional intelligence on Cloudflare

Affected products

Affected-version rules published in the advisory. Conditions and uncertain comparisons require verification.

Vendor / productAffected versionsPlatform / conditionsEvidence
linux kernel
linux
≥ 4.10, < 5.10.122

Verify advisory

Source
linux kernel
linux
≥ 5.11, < 5.15.47

Verify advisory

Source
linux kernel
linux
≥ 5.16, < 5.17.15

Verify advisory

Source
linux kernel
linux
≥ 5.18, < 5.18.4

Verify advisory

Source
Linux
Linux
≥ 89d9475610771b5e5fe1879075f0fc9ba6e3755f, < c1f0187025905e9981000d44a92e159468b561a8

Verify advisory

Source
Linux
Linux
≥ 89d9475610771b5e5fe1879075f0fc9ba6e3755f, < 0fcb0b131cc90c8f523a293d84c58d0c7273c96f

Verify advisory

Source
Linux
Linux
≥ 89d9475610771b5e5fe1879075f0fc9ba6e3755f, < 78f8e96df06e2d04d82d4071c299b59d28744f47

Verify advisory

Source
Linux
Linux
≥ 89d9475610771b5e5fe1879075f0fc9ba6e3755f, < 3733439593ad12f7b54ae35c273ea6f15d692de3

Verify advisory

Source
Linux
Linux
≥ 89d9475610771b5e5fe1879075f0fc9ba6e3755f, < 05fbde3a77a4f1d62e4c4428f384288c1f1a0be5

Verify advisory

Source
Linux
Linux
4.10

Verify advisory

Source

Recommended actions

Verify the product, installed version, platform, and advisory prerequisites on each system. Apply the vendor's applicable fixed release or mitigation. An affected-range boundary alone is not a universal update recommendation.

Vendor advisory links

Derived from non-aggregator references because the source record has no vendor tags. Verify the advisory before acting on it.

Severity

CVSS describes technical impact. It is separate from exploitation evidence.

Published headline score: 5.5. Score version, vector, and attribution are not available in this record. Additional score details appear when the source record is next refreshed.

Sources & references

Sources: Official CVE List, NVD and cve.now (summaries CC BY 4.0). Uses NVD data; not endorsed by NVD.