Skip to content
OpenAdvisories
Unscored Public exploit CVE-2012-4530 EUVD-2012-4458GHSA-6h9c-8q58-r73q

The load_script function in fs/binfmt_script.c in the Linux kernel before 3.7.2 does not properly handle recursion, which allows local user…

Published Feb 18, 2013 · Updated Aug 6, 2024 · Assigned by redhat

Description

The load_script function in fs/binfmt_script.c in the Linux kernel before 3.7.2 does not properly handle recursion, which allows local users to obtain sensitive information from kernel stack memory via a crafted application.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 linux 3.2.35-1 —
Debian 13 linux 3.2.35-1 —
Debian 12 linux 3.2.35-1 —
ReleasePackageFixed inAdvisory
RHEL 6 perf +15 2.6.32-279.22.1.el6 RHSA-2013:0223
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat MRG 2 kernel-rt +11 3.6.11-rt28.20.el6rt RHSA-2013:0566

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Exploit-DB 1

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Advisories 2

References