{"id":"CVE-2024-50284","summary":"ksmbd: Fix the missing xa_store error check","details":"In the Linux kernel, the following vulnerability has been resolved:\n\nksmbd: Fix the missing xa_store error check\n\nxa_store() can fail, it return xa_err(-EINVAL) if the entry cannot\nbe stored in an XArray, or xa_err(-ENOMEM) if memory allocation failed,\nso check error for xa_store() to fix it.","modified":"2026-04-02T12:21:22.899215Z","published":"2024-11-19T01:30:27.273Z","related":["USN-7276-1","USN-7277-1"],"database_specific":{"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50284.json","cna_assigner":"Linux"},"references":[{"type":"WEB","url":"https://git.kernel.org/stable/c/3abab905b14f4ba756d413f37f1fb02b708eee93"},{"type":"WEB","url":"https://git.kernel.org/stable/c/726c1568b9145fa13ee248df184b186c382a7ff8"},{"type":"WEB","url":"https://git.kernel.org/stable/c/c2a232c4f790f4bcd4d218904c56ac7a39a448f5"},{"type":"WEB","url":"https://git.kernel.org/stable/c/d8664ce789bd46290c59a00da6897252f92c237d"},{"type":"WEB","url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/50xxx/CVE-2024-50284.json"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-50284"},{"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":"052b41ef2abe274f068e892aee81406f11bd1f3a"},{"fixed":"d8664ce789bd46290c59a00da6897252f92c237d"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"b685757c7b08d5073046fb379be965fd6c06aafc"},{"fixed":"726c1568b9145fa13ee248df184b186c382a7ff8"},{"fixed":"c2a232c4f790f4bcd4d218904c56ac7a39a448f5"},{"fixed":"3abab905b14f4ba756d413f37f1fb02b708eee93"}]},{"type":"GIT","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","events":[{"introduced":"0"},{"last_affected":"1f485b54d04a920723984062c912174330a05178"}]}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-50284.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H"}]}