{"id":"CVE-2023-52596","state":"PUBLISHED","title":"sysctl: Fix out of bounds access for empty sysctl registers","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nsysctl: Fix out of bounds access for empty sysctl registers\n\nWhen registering tables to the sysctl subsystem there is a check to see\nif header is a permanently empty directory (used for mounts). This check\nevaluates the first element of the ctl_table. This results in an out of\nbounds evaluation when registering empty directories.\n\nThe function register_sysctl_mount_point now passes a ctl_table of size\n1 instead of size 0. It now relies solely on the type to identify\na permanently empty register.\n\nMake sure that the ctl_table has at least one element before testing for\npermanent emptiness.","publishedAt":"2024-03-06T06:45:26.094Z","updatedAt":"2026-05-11T19:30:01.402Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9edbfe92a0a1355bae1e47c8f542ac0d39f19f8c","status":"affected","lessThan":"15893975e9e382f8294ea8d926f08dc2d8d39ede","versionType":"git"},{"version":"9edbfe92a0a1355bae1e47c8f542ac0d39f19f8c","status":"affected","lessThan":"2ae7081bc10123b187e36a4f3a8e53768de31489","versionType":"git"},{"version":"9edbfe92a0a1355bae1e47c8f542ac0d39f19f8c","status":"affected","lessThan":"315552310c7de92baea4e570967066569937a843","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/proc/proc_sysctl.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.6","versionType":"semver"},{"version":"6.6.16","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7.4","status":"unaffected","lessThanOrEqual":"6.7.*","versionType":"semver"},{"version":"6.8","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/proc/proc_sysctl.c"]}],"references":["https://git.kernel.org/stable/c/15893975e9e382f8294ea8d926f08dc2d8d39ede","https://git.kernel.org/stable/c/2ae7081bc10123b187e36a4f3a8e53768de31489","https://git.kernel.org/stable/c/315552310c7de92baea4e570967066569937a843"],"weaknesses":[],"ingestedAt":"2026-10-29T20:06:33.064Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/52xxx/CVE-2023-52596.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2023-52596","state":"PUBLISHED","datePublished":"2024-03-06T06:45:26.094Z","dateUpdated":"2026-05-11T19:30:01.402Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-03-02T21:55:42.571Z"},"containers":{"cna":{"title":"sysctl: Fix out of bounds access for empty sysctl registers","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nsysctl: Fix out of bounds access for empty sysctl registers\n\nWhen registering tables to the sysctl subsystem there is a check to see\nif header is a permanently empty directory (used for mounts). This check\nevaluates the first element of the ctl_table. This results in an out of\nbounds evaluation when registering empty directories.\n\nThe function register_sysctl_mount_point now passes a ctl_table of size\n1 instead of size 0. It now relies solely on the type to identify\na permanently empty register.\n\nMake sure that the ctl_table has at least one element before testing for\npermanent emptiness."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"9edbfe92a0a1355bae1e47c8f542ac0d39f19f8c","status":"affected","lessThan":"15893975e9e382f8294ea8d926f08dc2d8d39ede","versionType":"git"},{"version":"9edbfe92a0a1355bae1e47c8f542ac0d39f19f8c","status":"affected","lessThan":"2ae7081bc10123b187e36a4f3a8e53768de31489","versionType":"git"},{"version":"9edbfe92a0a1355bae1e47c8f542ac0d39f19f8c","status":"affected","lessThan":"315552310c7de92baea4e570967066569937a843","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/proc/proc_sysctl.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"6.6","status":"affected"},{"version":"0","status":"unaffected","lessThan":"6.6","versionType":"semver"},{"version":"6.6.16","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7.4","status":"unaffected","lessThanOrEqual":"6.7.*","versionType":"semver"},{"version":"6.8","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["fs/proc/proc_sysctl.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/15893975e9e382f8294ea8d926f08dc2d8d39ede"},{"url":"https://git.kernel.org/stable/c/2ae7081bc10123b187e36a4f3a8e53768de31489"},{"url":"https://git.kernel.org/stable/c/315552310c7de92baea4e570967066569937a843"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:30:01.402Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.6.16"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.7.4"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"6.6","versionEndExcluding":"6.8"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"id":"CVE-2023-52596","role":"CISA Coordinator","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"version":"2.0.3","timestamp":"2024-03-06T15:39:37.053752Z"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-04T17:22:38.702Z"}},{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/15893975e9e382f8294ea8d926f08dc2d8d39ede","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/2ae7081bc10123b187e36a4f3a8e53768de31489","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/315552310c7de92baea4e570967066569937a843","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T23:03:21.269Z"}}]}}}