{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-49376","id":"CVE-2022-49376","title":"scsi: sd: Fix potential NULL pointer dereference","description":"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","descriptionLong":"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().","published":"2025-02-26T02:11:16.118Z","updated":"2026-10-28T02:30:41.885497030Z","reserved":"2025-02-26T02:08:31.558Z","status":"Modified","rejected":false,"assigner":"Linux","metric":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},"metrics":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"NVD"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"CISA-ADP"},{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","rating":"medium","source":"OSV"}],"rating":"medium","products":["Linux"],"affectedProducts":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"89d9475610771b5e5fe1879075f0fc9ba6e3755f","lessThan":"c1f0187025905e9981000d44a92e159468b561a8","status":"affected","versionType":"git"},{"version":"89d9475610771b5e5fe1879075f0fc9ba6e3755f","lessThan":"0fcb0b131cc90c8f523a293d84c58d0c7273c96f","status":"affected","versionType":"git"},{"version":"89d9475610771b5e5fe1879075f0fc9ba6e3755f","lessThan":"78f8e96df06e2d04d82d4071c299b59d28744f47","status":"affected","versionType":"git"},{"version":"89d9475610771b5e5fe1879075f0fc9ba6e3755f","lessThan":"3733439593ad12f7b54ae35c273ea6f15d692de3","status":"affected","versionType":"git"},{"version":"89d9475610771b5e5fe1879075f0fc9ba6e3755f","lessThan":"05fbde3a77a4f1d62e4c4428f384288c1f1a0be5","status":"affected","versionType":"git"}],"platforms":[]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"4.10","status":"affected"},{"version":"0","lessThan":"4.10","status":"unaffected","versionType":"semver"},{"version":"5.10.122","lessThanOrEqual":"5.10.*","status":"unaffected","versionType":"semver"},{"version":"5.15.47","lessThanOrEqual":"5.15.*","status":"unaffected","versionType":"semver"},{"version":"5.17.15","lessThanOrEqual":"5.17.*","status":"unaffected","versionType":"semver"},{"version":"5.18.4","lessThanOrEqual":"5.18.*","status":"unaffected","versionType":"semver"},{"version":"5.19","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}],"platforms":[]}],"packages":[],"cwes":["CWE-476"],"aliases":[],"references":[{"url":"https://git.kernel.org/stable/c/c1f0187025905e9981000d44a92e159468b561a8","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/0fcb0b131cc90c8f523a293d84c58d0c7273c96f","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/78f8e96df06e2d04d82d4071c299b59d28744f47","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/3733439593ad12f7b54ae35c273ea6f15d692de3","tags":["Patch","web"]},{"url":"https://git.kernel.org/stable/c/05fbde3a77a4f1d62e4c4428f384288c1f1a0be5","tags":["Patch","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/49xxx/CVE-2022-49376.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49376","tags":["advisory"]},{"url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial"},"epss":0.00268,"epssPercentile":0.19192,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-49376","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-49376","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-49376","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-49376","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}