{"id":"CVE-2022-49376","published":"2025-02-26T02:11:16Z","modified":"2026-05-11T18:58:29Z","title":"scsi: sd: Fix potential NULL pointer dereference","vendor":"Linux","product":"Linux","tier":"tail","description":{"text":"In the Linux kernel, the following vulnerability has been resolved:\n\nscsi: sd: Fix potential NULL pointer dereference\n\nIf sd_probe() sees an early error before sdkp->device is initialized,\nsd_zbc_release_disk() is called. This causes a NULL pointer dereference\nwhen sd_is_zoned() is called inside that function. Avoid this by removing\nthe call to sd_zbc_release_disk() in sd_probe() error path.\n\nThis change is safe and does not result in zone information memory leakage\nbecause the zone information for a zoned disk is allocated only when\nsd_revalidate_disk() is called, at which point sdkp->disk_dev is fully set,\nresulting in sd_disk_release() being called when needed to cleanup a disk\nzone information using sd_zbc_release_disk().","provenance":"source","from":"CVE.org"},"cvss":{"score":5.5,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.00268,"percentile":0.19387,"provenance":"source"},"cwes":[{"id":"CWE-476","name":"NULL Pointer Dereference"}],"references":[{"url":"https://git.kernel.org/stable/c/c1f0187025905e9981000d44a92e159468b561a8","tags":[]},{"url":"https://git.kernel.org/stable/c/0fcb0b131cc90c8f523a293d84c58d0c7273c96f","tags":[]},{"url":"https://git.kernel.org/stable/c/78f8e96df06e2d04d82d4071c299b59d28744f47","tags":[]},{"url":"https://git.kernel.org/stable/c/3733439593ad12f7b54ae35c273ea6f15d692de3","tags":[]},{"url":"https://git.kernel.org/stable/c/05fbde3a77a4f1d62e4c4428f384288c1f1a0be5","tags":[]}],"priority":{"score":7.7,"factors":[{"name":"EPSS percentile","points":3.88},{"name":"CVSS severity","points":3.85}]},"vendorSlug":"linux","affectedVersions":[{"vendor":"Linux","product":"Linux","versions":[">= 89d9475610771b5e5fe1879075f0fc9ba6e3755f, < c1f0187025905e9981000d44a92e159468b561a8",">= 89d9475610771b5e5fe1879075f0fc9ba6e3755f, < 0fcb0b131cc90c8f523a293d84c58d0c7273c96f",">= 89d9475610771b5e5fe1879075f0fc9ba6e3755f, < 78f8e96df06e2d04d82d4071c299b59d28744f47",">= 89d9475610771b5e5fe1879075f0fc9ba6e3755f, < 3733439593ad12f7b54ae35c273ea6f15d692de3",">= 89d9475610771b5e5fe1879075f0fc9ba6e3755f, < 05fbde3a77a4f1d62e4c4428f384288c1f1a0be5"]},{"vendor":"Linux","product":"Linux","versions":["4.10"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-01T19:41:58.424102Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2022-54853","exploited":false,"provenance":"source"}}