VDB

GHSA-m9p4-r7pw-hpw3

GHSA-m9p4-r7pw-hpw3 PUBLISHED CVSS 7 HIGH

Record from GitHub Advisory Database · Published May 14, 2022

The sg implementation in the Linux kernel through 4.9 does not properly restrict write operations in situations where the KERNEL_DS option is set, which allows local users to read or write to arbitrary kernel memory locations or cause a denial of service (use-after-free) by leveraging access to a /dev/sg device, related to block/bsg.c and drivers/scsi/sg.c. NOTE: this vulnerability exists because of an incomplete fix for CVE-2016-9576.

Risk scores

CVSS 3.0
7
CVSS:3.0/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H

Timeline

  • May 14, 2022 CVE Published
  • Apr 9, 2026 Distribution Patch (3 in total, the first dated here)
  • Apr 30, 2026 Security Advisory

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln GHSA-m9p4-r7pw-hpw3
vulnetix vdb fixes GHSA-m9p4-r7pw-hpw3

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/GHSA-m9p4-r7pw-hpw3/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›