{ "dataType": "CVE_RECORD", "cveMetadata": { "cveId": "CVE-2024-35904", "assignerOrgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "state": "PUBLISHED", "assignerShortName": "Linux", "dateReserved": "2024-05-17T13:50:33.115Z", "datePublished": "2024-05-19T08:34:57.351Z", "dateUpdated": "2026-05-11T20:13:30.275Z" }, "containers": { "cna": { "providerMetadata": { "orgId": "416baaa9-dc9f-4396-8d5f-8c081fb06d67", "shortName": "Linux", "dateUpdated": "2026-05-11T20:13:30.275Z" }, "descriptions": [ { "lang": "en", "value": "In the Linux kernel, the following vulnerability has been resolved:\n\nselinux: avoid dereference of garbage after mount failure\n\nIn case kern_mount() fails and returns an error pointer return in the\nerror branch instead of continuing and dereferencing the error pointer.\n\nWhile on it drop the never read static variable selinuxfs_mount." } ], "affected": [ { "product": "Linux", "vendor": "Linux", "defaultStatus": "unaffected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "security/selinux/selinuxfs.c" ], "versions": [ { "version": "0619f0f5e36f12e100ef294f5980cfe7c93ff23e", "lessThan": "477ed6789eb9f3f4d3568bb977f90c863c12724e", "status": "affected", "versionType": "git" }, { "version": "0619f0f5e36f12e100ef294f5980cfe7c93ff23e", "lessThan": "68784a5d01b8868ff85a7926676b6729715fff3c", "status": "affected", "versionType": "git" }, { "version": "0619f0f5e36f12e100ef294f5980cfe7c93ff23e", "lessThan": "37801a36b4d68892ce807264f784d818f8d0d39b", "status": "affected", "versionType": "git" } ] }, { "product": "Linux", "vendor": "Linux", "defaultStatus": "affected", "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git", "programFiles": [ "security/selinux/selinuxfs.c" ], "versions": [ { "version": "4.17", "status": "affected" }, { "version": "0", "lessThan": "4.17", "status": "unaffected", "versionType": "semver" }, { "version": "6.6.26", "lessThanOrEqual": "6.6.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.8.5", "lessThanOrEqual": "6.8.*", "status": "unaffected", "versionType": "semver" }, { "version": "6.9", "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": "4.17", "versionEndExcluding": "6.6.26" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.17", "versionEndExcluding": "6.8.5" }, { "vulnerable": true, "criteria": "cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*", "versionStartIncluding": "4.17", "versionEndExcluding": "6.9" } ] } ] } ], "references": [ { "url": "https://git.kernel.org/stable/c/477ed6789eb9f3f4d3568bb977f90c863c12724e" }, { "url": "https://git.kernel.org/stable/c/68784a5d01b8868ff85a7926676b6729715fff3c" }, { "url": "https://git.kernel.org/stable/c/37801a36b4d68892ce807264f784d818f8d0d39b" } ], "title": "selinux: avoid dereference of garbage after mount failure", "x_generator": { "engine": "bippy-1.2.0" } }, "adp": [ { "title": "CISA ADP Vulnrichment", "metrics": [ { "other": { "type": "ssvc", "content": { "id": "CVE-2024-35904", "role": "CISA Coordinator", "options": [ { "Exploitation": "none" }, { "Automatable": "no" }, { "Technical Impact": "partial" } ], "version": "2.0.3", "timestamp": "2024-05-20T14:08:38.593035Z" } } } ], "providerMetadata": { "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0", "shortName": "CISA-ADP", "dateUpdated": "2024-06-04T17:34:43.960Z" } }, { "providerMetadata": { "orgId": "af854a3a-2127-422b-91ae-364da2661108", "shortName": "CVE", "dateUpdated": "2024-08-02T03:21:48.799Z" }, "title": "CVE Program Container", "references": [ { "url": "https://git.kernel.org/stable/c/477ed6789eb9f3f4d3568bb977f90c863c12724e", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/68784a5d01b8868ff85a7926676b6729715fff3c", "tags": [ "x_transferred" ] }, { "url": "https://git.kernel.org/stable/c/37801a36b4d68892ce807264f784d818f8d0d39b", "tags": [ "x_transferred" ] }, { "url": "http://www.openwall.com/lists/oss-security/2024/05/30/2", "tags": [ "x_transferred" ] }, { "url": "http://www.openwall.com/lists/oss-security/2024/05/30/1", "tags": [ "x_transferred" ] } ] } ] }, "dataVersion": "5.2" }