net: mana: Fix error handling in mana_create_txq/rxq's NAPI cleanup (Linux Linux)

CVE-2024-46784
MEDIUM 5.5

At a glance

Source
NVD
EPSS
EPSS 0.22 % · percentile 12 ()
State
PUBLISHED
Published
Updated
Assigner
Linux
NVD status
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: net: mana: Fix error handling in mana_create_txq/rxq's NAPI cleanup Currently napi_disable() gets called during rxq and txq cleanup, even before napi is enabled and hrtimer is initialized. It causes kernel panic. ? page_fault_oops+0x136/0x2b0 ? page_counter_cancel+0x2e/0x80 ? do_user_addr_fault+0x2f2/0x640 ? refill_obj_stock+0xc4/0x110 ? exc_page_fault+0x71/0x160 ? asm_exc_page_fault+0x27/0x30 ? __mmdrop+0x10/0x180 ? __mmdrop+0xec/0x180 ? hrtimer_active+0xd/0x50 hrtimer_try_to_cancel+0x2c/0xf0 hrtimer_cancel+0x15/0x30 napi_disable+0x65/0x90 mana_destroy_rxq+0x4c/0x2f0 mana_create_rxq.isra.0+0x56c/0x6d0 ? mana_uncfg_vport+0x50/0x50 mana_alloc_queues+0x21b/0x320 ? skb_dequeue+0x5f/0x80

Weaknesses (CWE)

  • CWE-908 — Use of Uninitialized Resource

References

Scores

VersionScoreVectorScored by
CVSS 3.1MEDIUM 5.5CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:HNVD · nvd@nist.gov (Primary)

European references

CERT-FR advisories

Affected configurations (NVD CPE)

Affected products

ProductVersions
Linux · Linuxaffected e1b5683ff62e7b328317aec08869495992053e9d < 386617efacab10bf5bb40bde403467c57cc00470 ; affected e1b5683ff62e7b328317aec08869495992053e9d < 9178eb8ebcd887ab75e54ac40d538e54bb9c7788 ; affected e1b5683ff62e7b328317aec08869495992053e9d < 9e0bff4900b5d412a9bafe4baeaa6facd34f671c ; affected e1b5683ff62e7b328317aec08869495992053e9d < 4982a47154f0b50de81ee0a0b169a3fc74120a65 ; affected e1b5683ff62e7b328317aec08869495992053e9d < b6ecc662037694488bfff7c9fd21c405df8411f2
Linux · Linuxaffected 5.15 ; unaffected 0 < 5.15 ; unaffected 5.15.181 ≤ 5.15.* ; unaffected 6.1.110 ≤ 6.1.* ; unaffected 6.6.51 ≤ 6.6.* ; unaffected 6.10.10 ≤ 6.10.*

Sources

SourceLicence
CVE List (CVEProject cvelistV5)CVE Program Terms of Use
EPSS (FIRST.org)FIRST — attribution requested
ENISA EUVDENISA — reproduction authorised, source acknowledged
CERT-FR (ANSSI)Licence Ouverte / Etalab 2.0
NVD (NIST) via fkie-cad/nvd-json-data-feedsPublic domain — this product uses data from the NVD API but is not endorsed or certified by the NVD