{"id":"CVE-2025-40345","summary":"usb: storage: sddr55: Reject out-of-bound new_pba","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nusb: storage: sddr55: Reject out-of-bound new_pba\n\nDiscovered by Atuin - Automated Vulnerability Discovery Engine.\n\nnew_pba comes from the status packet returned after each write.\nA bogus device could report values beyond the block count derived\nfrom info-\u003ecapacity, letting the driver walk off the end of\npba_to_lba[] and corrupt heap memory.\n\nReject PBAs that exceed the computed block count and fail the\ntransfer so we avoid touching out-of-range mapping entries.","modified":"2026-04-16T00:02:23.159461016Z","published":"2025-12-12T17:53:06.853Z","related":["SUSE-SU-2026:0278-1","SUSE-SU-2026:0281-1","SUSE-SU-2026:0293-1","SUSE-SU-2026:0315-1","SUSE-SU-2026:0473-1","SUSE-SU-2026:20207-1","SUSE-SU-2026:20220-1","SUSE-SU-2026:20228-1","SUSE-SU-2026:20477-1","SUSE-SU-2026:20498-1","SUSE-SU-2026:20845-1","SUSE-SU-2026:20876-1","openSUSE-SU-2026:20145-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40345.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/04a8a6393f3f2f471e05eacca33282dd30b01432"},{"type":"WEB","url":"https://git.kernel.org/stable/c/26e9b5da3231da7dc357b363883b5b7b51a64092"},{"type":"WEB","url":"https://git.kernel.org/stable/c/5ebe8d479aaf4f41ac35e6955332304193c646f6"},{"type":"WEB","url":"https://git.kernel.org/stable/c/a20f1dd19d21dcb70140ea5a71b1f8cbe0c7e68f"},{"type":"WEB","url":"https://git.kernel.org/stable/c/aa64e0e17e3a5991a25e6a46007770c629039869"},{"type":"WEB","url":"https://git.kernel.org/stable/c/b59d4fda7e7d0aff1043a7f742487cb829f5aac1"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d00a6c04a502cd52425dbf35588732c652b16490"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/40xxx/CVE-2025-40345.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-40345"},{"type":"PACKAGE","url":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"1da177e4c3f41524e886b7f1b8a0c1fc7321cac2"},{"fixed":"d00a6c04a502cd52425dbf35588732c652b16490"},{"fixed":"26e9b5da3231da7dc357b363883b5b7b51a64092"},{"fixed":"aa64e0e17e3a5991a25e6a46007770c629039869"},{"fixed":"04a8a6393f3f2f471e05eacca33282dd30b01432"},{"fixed":"a20f1dd19d21dcb70140ea5a71b1f8cbe0c7e68f"},{"fixed":"5ebe8d479aaf4f41ac35e6955332304193c646f6"},{"fixed":"b59d4fda7e7d0aff1043a7f742487cb829f5aac1"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40345.json"}},{"package":{"name":"Kernel","ecosystem":"Linux"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.6.12"},{"fixed":"5.10.247"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.11.0"},{"fixed":"5.15.197"}]},{"type":"ECOSYSTEM","events":[{"introduced":"5.16.0"},{"fixed":"6.1.159"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.2.0"},{"fixed":"6.6.119"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.7.0"},{"fixed":"6.12.61"}]},{"type":"ECOSYSTEM","events":[{"introduced":"6.13.0"},{"fixed":"6.17.11"}]}],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2025-40345.json"}}],"schema_version":"1.7.5"}