{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-38182","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","state":"PUBLISHED","assignerShortName":"Linux","dateReserved":"2025-04-16T04:51:23.992Z","datePublished":"2025-07-04T13:37:09.637Z","dateUpdated":"2026-05-11T21:22:50.068Z"},"containers":{"cna":{"providerMetadata":{"orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","shortName":"Linux","dateUpdated":"2026-05-11T21:22:50.068Z"},"descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nublk: santizize the arguments from userspace when adding a device\n\nSanity check the values for queue depth and number of queues\nwe get from userspace when adding a device."}],"affected":[{"product":"Linux","vendor":"Linux","defaultStatus":"unaffected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/block/ublk_drv.c"],"versions":[{"version":"71f28f3136aff5890cd56de78abc673f8393cad9","lessThan":"3162d8235c8c4d585525cee8a59d1c180940a968","status":"affected","versionType":"git"},{"version":"71f28f3136aff5890cd56de78abc673f8393cad9","lessThan":"0f8df5d6f25ac17c52a8bc6418e60a3e63130550","status":"affected","versionType":"git"},{"version":"71f28f3136aff5890cd56de78abc673f8393cad9","lessThan":"e2b2b7cf6368580114851cb3932f2ad9fbf23386","status":"affected","versionType":"git"},{"version":"71f28f3136aff5890cd56de78abc673f8393cad9","lessThan":"8c8472855884355caf3d8e0c50adf825f83454b2","status":"affected","versionType":"git"}]},{"product":"Linux","vendor":"Linux","defaultStatus":"affected","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/block/ublk_drv.c"],"versions":[{"version":"6.0","status":"affected"},{"version":"0","lessThan":"6.0","status":"unaffected","versionType":"semver"},{"version":"6.6.95","lessThanOrEqual":"6.6.*","status":"unaffected","versionType":"semver"},{"version":"6.12.35","lessThanOrEqual":"6.12.*","status":"unaffected","versionType":"semver"},{"version":"6.15.4","lessThanOrEqual":"6.15.*","status":"unaffected","versionType":"semver"},{"version":"6.16","lessThanOrEqual":"*","status":"unaffected","versionType":"original_commit_for_fix"}]}],"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.6.95"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.12.35"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.15.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.0","versionEndExcluding":"6.16"}]}]}],"references":[{"url":"https://git.kernel.org/stable/c/3162d8235c8c4d585525cee8a59d1c180940a968"},{"url":"https://git.kernel.org/stable/c/0f8df5d6f25ac17c52a8bc6418e60a3e63130550"},{"url":"https://git.kernel.org/stable/c/e2b2b7cf6368580114851cb3932f2ad9fbf23386"},{"url":"https://git.kernel.org/stable/c/8c8472855884355caf3d8e0c50adf825f83454b2"}],"title":"ublk: santizize the arguments from userspace when adding a device","x_generator":{"engine":"bippy-1.2.0"}}}}