{"id":"CVE-2026-99847","aliases":[],"cve":{"records":[{"id":"CVE-2026-99847","source":"Linux","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-09-25T10:25:14.437Z","published":"2026-11-30T13:17:36.624Z","modified":"2026-11-30T13:17:36.624Z"}],"publishers":[{"name":"Linux","role":"CNA","organizationId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","modified":"2026-11-30T13:17:36.624Z"}],"references":[{"url":"https://git.kernel.org/stable/c/a20f98ffe158ea5eeb9932a3badbce267cd04917","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/43aba2eeaa34e045bdd73abfe66c8bd3fed97852","tags":[],"source":"Linux"},{"url":"https://git.kernel.org/stable/c/a913281f600157aa036b7c02afbb18a0ac115187","tags":[],"source":"Linux"}],"weaknesses":[],"applicability":[{"source":"Linux","statements":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.18.40","versionEndExcluding":"6.18.63"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.2","versionEndExcluding":"7.3.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.2","versionEndExcluding":"7.4-rc1"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"7.1.5"}]}]}]}],"prioritization":[]},"title":"apparmor: don't revalidate inherited files under files->file_lock","titleSource":"Linux","descriptionSource":"Linux","description":"In the Linux kernel, the following vulnerability has been resolved:\n\napparmor: don't revalidate inherited files under files->file_lock\n\naa_inherit_files() revalidates inherited files on exec using\niterate_fd(), which calls the callback with files->file_lock held,\nso the revalidation is done with IN_ATOMIC. However the unix socket\nmediation path can sleep: aa_unix_file_perm() drops a ref on the\npeer's path with path_put(), and unix_fs_perm() -> aa_path_perm()\nallocates a buffer with aa_get_buffer(false), resulting in\n\n  BUG: sleeping function called from invalid context at fs/dcache.c:1039\n  ...\n   dput.part.0+0x24/0x180\n   path_put+0x2c/0x60\n   aa_unix_file_perm+0x42a/0x17b0\n   aa_file_perm+0xcd3/0x1060\n   match_file+0x10b/0x190\n   iterate_fd+0xe6/0x280\n   aa_inherit_files+0x250/0x4f0\n\nOnly grab a ref on each file under iterate_fd(), and revalidate it\nafter the lock is dropped, so revalidation is done with no locks held\nand does not need to be atomic. Denied fds are still replaced with\n/dev/null, or closed if it can not be opened.","score":null,"severity":"unknown","published":"2026-11-30T13:17:36.624Z","modified":"2026-11-30T13:17:36.624Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"d8ea44f6090c087fe255d9512fb808574b4d88e8","status":"affected","lessThan":"a20f98ffe158ea5eeb9932a3badbce267cd04917","versionType":"git"},{"version":"b1aea2c1960771a276d7e68c7424168eccd0c3da","status":"affected","lessThan":"43aba2eeaa34e045bdd73abfe66c8bd3fed97852","versionType":"git"},{"version":"b1aea2c1960771a276d7e68c7424168eccd0c3da","status":"affected","lessThan":"a913281f600157aa036b7c02afbb18a0ac115187","versionType":"git"},{"version":"d680472db98823d90fc91362910901e468269318","status":"affected","versionType":"git"},{"version":"6.18.40","status":"affected","lessThan":"6.18.63","versionType":"semver"},{"version":"7.1.5","status":"affected","lessThan":"7.2","versionType":"semver"}],"defaultStatus":"unaffected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99847"},{"vendor":"Linux","name":"Linux","platforms":[],"versions":[{"version":"7.2","status":"affected"},{"version":"0","status":"unaffected","lessThan":"7.2","versionType":"semver"},{"version":"6.18.63","status":"unaffected","lessThanOrEqual":"6.18.*","versionType":"semver"},{"version":"7.3.4","status":"unaffected","lessThanOrEqual":"7.3.*","versionType":"semver"},{"version":"7.4-rc1","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"defaultStatus":"affected","cpes":[],"source":"Linux","url":"https://www.cve.org/CVERecord?id=CVE-2026-99847"}],"remediation":[],"references":["https://git.kernel.org/stable/c/a20f98ffe158ea5eeb9932a3badbce267cd04917","https://git.kernel.org/stable/c/43aba2eeaa34e045bdd73abfe66c8bd3fed97852","https://git.kernel.org/stable/c/a913281f600157aa036b7c02afbb18a0ac115187"],"sources":[{"name":"CVE","id":"CVE-2026-99847","modified":"2026-11-30T13:17:36.624Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-99847"}],"assessments":[],"sourceAffected":[],"observedAt":"2026-11-30T13:46:55.561Z","kev":{"status":"not-listed","checkedAt":"2026-11-30T22:55:31.926Z"},"coverage":[{"source":"NVD","status":"not-checked"},{"source":"GHSA","status":"not-checked"},{"source":"EUVD","status":"not-checked"},{"source":"EPSS","status":"not-checked"}],"evidence":[],"aiSummary":null}