VDB

CVE-2021-46905

CVE-2021-46905 PUBLISHED

net: hso: fix NULL-deref on disconnect regression

Reported by linux · Published February 25, 2024

In the Linux kernel, the following vulnerability has been resolved: net: hso: fix NULL-deref on disconnect regression Commit 8a12f8836145 ("net: hso: fix null-ptr-deref during tty device unregistration") fixed the racy minor allocation reported by syzbot, but introduced an unconditional NULL-pointer dereference on every disconnect instead. Specifically, the serial device table must no longer be accessed after the minor has been released by hso_serial_tty_unregister().

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
kernel-tools-develAmazon Linux4.14.232-176.381.amzn2
kernelAmazon Linux4.14.232-176.381.amzn2
kernel-livepatch-4.14.232-176.381Amazon Linux1.0-0.amzn2
kernel-headersAmazon Linux4.14.232-176.381.amzn2
kernel-toolsAmazon Linux4.14.232-176.381.amzn2
linux_kernellinux5.11.17, 5.10.33, 5.4.115, 4.19.189

Affected products

VendorProductVersions
LinuxLinuxa462067d7c8e6953a733bf5ade8db947b1bb5449, 145c89c441d27696961752bf51b323f347601bee, caf5ac93b3b5d5fac032fc11fbea680e115421b4
LinuxLinux5.12, 0, 4.19.189
amazon:2kernel-tools-devel0
amazon:2kernel0
amazon:2kernel-livepatch-4.14.232-176.3810
amazon:2kernel-headers0
amazon:2kernel-tools0
linuxlinux_kernel4.19.187, 5.10.30, 5.11.14
amazon:2python-perf0
amazon:2perf0
LinuxLinux5.13, *, 5.12
amazon:2kernel-devel0

Timeline

  • Feb 25, 2024 CVE Published
  • Feb 26, 2024 EPSS Score (30 in total, the first dated here)
  • Jun 2, 2026 Security Advisory (127 in total, the first dated here)
  • Jul 13, 2026 Coalition ESS Score
  • Aug 10, 2026 Distribution Patch (116 in total, the first dated here)

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2021-46905
vulnetix vdb fixes CVE-2021-46905

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/CVE-2021-46905/fixes/registry"

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

References

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