Lucene search

K
cvelistLinuxCVELIST:CVE-2021-46905
HistoryFeb 25, 2024 - 2:03 p.m.

CVE-2021-46905 net: hso: fix NULL-deref on disconnect regression

2024-02-2514:03:40
Linux
www.cve.org
linux kernel
vulnerability
hso
null-deref
disconnect
regression

6.4 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

5.1%

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().

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/net/usb/hso.c"
    ],
    "versions": [
      {
        "version": "a462067d7c8e",
        "lessThan": "5871761c5f0f",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "145c89c441d2",
        "lessThan": "0c71d4c89559",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "caf5ac93b3b5",
        "lessThan": "24b699bea755",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "92028d7a31e5",
        "lessThan": "5c17cfe155d2",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "4a2933c88399",
        "lessThan": "d7fad2ce15bd",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "dc195928d7e4",
        "lessThan": "90642ee9eb58",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "388d05f70f1e",
        "lessThan": "0f000005da31",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "8a12f8836145",
        "lessThan": "41c44e1f3112",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "8a12f8836145",
        "lessThan": "2ad5692db728",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "drivers/net/usb/hso.c"
    ],
    "versions": [
      {
        "version": "5.12",
        "status": "affected"
      },
      {
        "version": "0",
        "lessThan": "5.12",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "4.19.189",
        "lessThanOrEqual": "4.19.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.4.115",
        "lessThanOrEqual": "5.4.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.10.33",
        "lessThanOrEqual": "5.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.11.17",
        "lessThanOrEqual": "5.11.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.12.1",
        "lessThanOrEqual": "5.12.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "5.13",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]

6.4 Medium

AI Score

Confidence

High

0.0004 Low

EPSS

Percentile

5.1%