VDB

CVE-2023-52596

CVE-2023-52596 PUBLISHED

sysctl: Fix out of bounds access for empty sysctl registers

Reported by linux · Published March 6, 2024

In the Linux kernel, the following vulnerability has been resolved: sysctl: Fix out of bounds access for empty sysctl registers When registering tables to the sysctl subsystem there is a check to see if header is a permanently empty directory (used for mounts). This check evaluates the first element of the ctl_table. This results in an out of bounds evaluation when registering empty directories. The function register_sysctl_mount_point now passes a ctl_table of size 1 instead of size 0. It now relies solely on the type to identify a permanently empty register. Make sure that the ctl_table has at least one element before testing for permanent emptiness.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
linux_kernellinux6.7.4, 6.6.16
LinuxLinux6.6

Affected products

VendorProductVersions
LinuxLinux9edbfe92a0a1355bae1e47c8f542ac0d39f19f8c, 9edbfe92a0a1355bae1e47c8f542ac0d39f19f8c, 9edbfe92a0a1355bae1e47c8f542ac0d39f19f8c
LinuxLinux6.6, 0, 6.6.16
linuxlinux_kernel6.6, 6.6, 6.6
LinuxLinux9edbfe92a0a1355bae1e47c8f542ac0d39f19f8c, 6.6, 0

Timeline

  • Mar 6, 2024 EPSS Score (30 in total, the first dated here)
  • Mar 6, 2024 CVE Published
  • Mar 6, 2024 PoC Published (2 in total, the first dated here)
  • Oct 5, 2024 Coalition ESS Score (5 in total, the first dated here)
  • Jan 25, 2026 Security Advisory
  • Jan 25, 2026 CVE Updated

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2023-52596
vulnetix vdb fixes CVE-2023-52596

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-52596/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›