Lucene search

K
cvelistLinuxCVELIST:CVE-2024-46834
HistorySep 27, 2024 - 12:39 p.m.

CVE-2024-46834 ethtool: fail closed if we can't get max channel used in indirection tables

2024-09-2712:39:31
Linux
www.cve.org

In the Linux kernel, the following vulnerability has been resolved:

ethtool: fail closed if we can’t get max channel used in indirection tables

Commit 0d1b7d6c9274 (“bnxt: fix crashes when reducing ring count with
active RSS contexts”) proves that allowing indirection table to contain
channels with out of bounds IDs may lead to crashes. Currently the
max channel check in the core gets skipped if driver can’t fetch
the indirection table or when we can’t allocate memory.

Both of those conditions should be extremely rare but if they do
happen we should try to be safe and fail the channel change.

CNA Affected

[
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "unaffected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/ethtool/channels.c",
      "net/ethtool/common.c",
      "net/ethtool/common.h",
      "net/ethtool/ioctl.c"
    ],
    "versions": [
      {
        "version": "1da177e4c3f4",
        "lessThan": "101737d8b88d",
        "status": "affected",
        "versionType": "git"
      },
      {
        "version": "1da177e4c3f4",
        "lessThan": "2899d58462ba",
        "status": "affected",
        "versionType": "git"
      }
    ]
  },
  {
    "product": "Linux",
    "vendor": "Linux",
    "defaultStatus": "affected",
    "repo": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git",
    "programFiles": [
      "net/ethtool/channels.c",
      "net/ethtool/common.c",
      "net/ethtool/common.h",
      "net/ethtool/ioctl.c"
    ],
    "versions": [
      {
        "version": "6.10.10",
        "lessThanOrEqual": "6.10.*",
        "status": "unaffected",
        "versionType": "custom"
      },
      {
        "version": "6.11",
        "lessThanOrEqual": "*",
        "status": "unaffected",
        "versionType": "original_commit_for_fix"
      }
    ]
  }
]
Related for CVELIST:CVE-2024-46834