Skip to content
OpenAdvisories
Unscored Public exploit CVE-2009-0676 EUVD-2009-0676GHSA-863c-wrq8-v36v

The sock_getsockopt function in net/core/sock.c in the Linux kernel before 2.6.28.6 does not initialize a certain structure member, which a…

Published Feb 22, 2009 · Updated Aug 7, 2024 · Assigned by mitre

Description

The sock_getsockopt function in net/core/sock.c in the Linux kernel before 2.6.28.6 does not initialize a certain structure member, which allows local users to obtain potentially sensitive information from kernel memory via an SO_BSDCOMPAT getsockopt request.

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 5.0 linux-2.6 2.6.26-13lenny2 DSA-1749-1
Debian 4.0 fai-kernels 1.17+etch.24etch2 DSA-1794-1
Debian 4.0 linux-2.6 2.6.18.dfsg.1-24etch2 DSA-1794-1
Debian 4.0 linux-2.6.24 2.6.24-6~etchnhalf.8etch1 DSA-1787-1
Debian 4.0 user-mode-linux 2.6.18-1um-2etch.24etch2 DSA-1794-1
ReleasePackageFixed inAdvisory
RHEL 5 kernel +12 2.6.18-128.1.6.el5 RHSA-2009:0326
RHEL 4 kernel +10 2.6.9-78.0.22.EL RHSA-2009:0459
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat MRG 1 kernel-rt +9 2.6.24.7-108.el5rt RHSA-2009:0360

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 6

References