CVE-2025-22006

Source
https://nvd.nist.gov/vuln/detail/CVE-2025-22006
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-22006.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2025-22006
Downstream
Published
2025-04-03T07:19:07.407Z
Modified
2025-11-20T08:37:22.163233Z
Severity
  • 5.5 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
net: ethernet: ti: am65-cpsw: Fix NAPI registration sequence
Details

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

net: ethernet: ti: am65-cpsw: Fix NAPI registration sequence

Registering the interrupts for TX or RX DMA Channels prior to registering their respective NAPI callbacks can result in a NULL pointer dereference. This is seen in practice as a random occurrence since it depends on the randomness associated with the generation of traffic by Linux and the reception of traffic from the wire.

References

Affected packages

Git / git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git

Affected ranges

Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
82b44cdb0355b5061769ae51909d1c8a1b7f31f2
Fixed
d4bf956547c38c04fad8d72a961ac4dc00bad000
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
faef4c2bebac3c6e4161e66c3d42b85e88013709
Fixed
942557abed7f38b77a47d77b92d448802eefe185
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
681eb2beb3efe21e630bcc4881595e3b42dd7948
Fixed
5f079290e5913a0060e059500b7d440990ac1066

Affected versions

v6.*

v6.12.14
v6.12.15
v6.12.16
v6.12.17
v6.12.18
v6.12.19
v6.12.20
v6.13
v6.13.3
v6.13.4
v6.13.5
v6.13.6
v6.13.7
v6.13.8
v6.14-rc1
v6.14-rc2
v6.14-rc3
v6.14-rc4
v6.14-rc5
v6.14-rc6

Database specific

vanir_signatures

[
    {
        "id": "CVE-2025-22006-2be5aebc",
        "target": {
            "file": "drivers/net/ethernet/ti/am65-cpsw-nuss.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "144473508062911883192767632900316020792",
                "42219624325813082924263218889431345048",
                "1162136202911004106616008521200155489",
                "68057080445154141618104097041733308675",
                "220246324043965778661606332529263725206",
                "224177972613940382524039318589971294708",
                "196530918369058271289377962012588837474",
                "272648037781828288714655837821283096931",
                "251390169112480880763355662393979348728",
                "75346211311893954560872624470003882513",
                "326885085993115990024945409977190129158",
                "326337926609433799580572672948274439805",
                "83487597571842988756011556871436196807",
                "55686602927315956331121112715880021337",
                "310971604626931062066499647635308502364",
                "293038455933524184704490583337363451576",
                "338831393159726086764988884689336842695",
                "214138643497804926976025423276792685825",
                "302302237876344266246719971276522200458",
                "155364850499980690778110513048023361560",
                "27477512962491284476250699620653006755",
                "337078604562444364335193067188244212043",
                "166719371173711575583853406430218398288",
                "140272702331455860631260490280190716502",
                "116781223988123122914295397491799368778",
                "242127899782517761457778259456918303391",
                "202573004983330475973379818838335180537",
                "77126175836353494032238324330227698301",
                "151713525640400120586728389889200360325",
                "255233317271974869549667184560642200164",
                "166029043061920651082781243399526732369",
                "56619447355154630180762721981342247359",
                "125692685451852586423177416399551195056",
                "304130325404906457216299424689752384851",
                "212652703552572186367246873854572334597",
                "29271510291853680498041897185761525956",
                "275008816510134337762925860701004260754",
                "333610018684724484102989365984694458076",
                "271548276297944230781490077518180637435"
            ]
        },
        "deprecated": false,
        "signature_type": "Line",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5f079290e5913a0060e059500b7d440990ac1066",
        "signature_version": "v1"
    },
    {
        "id": "CVE-2025-22006-36804978",
        "target": {
            "file": "drivers/net/ethernet/ti/am65-cpsw-nuss.c",
            "function": "am65_cpsw_nuss_ndev_add_tx_napi"
        },
        "digest": {
            "function_hash": "86073914900532904877009255414916236863",
            "length": 825.0
        },
        "deprecated": false,
        "signature_type": "Function",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@942557abed7f38b77a47d77b92d448802eefe185",
        "signature_version": "v1"
    },
    {
        "id": "CVE-2025-22006-4b854bc4",
        "target": {
            "file": "drivers/net/ethernet/ti/am65-cpsw-nuss.c",
            "function": "am65_cpsw_nuss_init_rx_chns"
        },
        "digest": {
            "function_hash": "57173564734453507971502373126406064268",
            "length": 3233.0
        },
        "deprecated": false,
        "signature_type": "Function",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d4bf956547c38c04fad8d72a961ac4dc00bad000",
        "signature_version": "v1"
    },
    {
        "id": "CVE-2025-22006-51fe0be9",
        "target": {
            "file": "drivers/net/ethernet/ti/am65-cpsw-nuss.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "144473508062911883192767632900316020792",
                "42219624325813082924263218889431345048",
                "1162136202911004106616008521200155489",
                "68057080445154141618104097041733308675",
                "220246324043965778661606332529263725206",
                "224177972613940382524039318589971294708",
                "196530918369058271289377962012588837474",
                "272648037781828288714655837821283096931",
                "251390169112480880763355662393979348728",
                "75346211311893954560872624470003882513",
                "326885085993115990024945409977190129158",
                "326337926609433799580572672948274439805",
                "83487597571842988756011556871436196807",
                "55686602927315956331121112715880021337",
                "310971604626931062066499647635308502364",
                "293038455933524184704490583337363451576",
                "338831393159726086764988884689336842695",
                "214138643497804926976025423276792685825",
                "302302237876344266246719971276522200458",
                "155364850499980690778110513048023361560",
                "27477512962491284476250699620653006755",
                "337078604562444364335193067188244212043",
                "166719371173711575583853406430218398288",
                "140272702331455860631260490280190716502",
                "116781223988123122914295397491799368778",
                "242127899782517761457778259456918303391",
                "202573004983330475973379818838335180537",
                "77126175836353494032238324330227698301",
                "151713525640400120586728389889200360325",
                "255233317271974869549667184560642200164",
                "166029043061920651082781243399526732369",
                "56619447355154630180762721981342247359",
                "125692685451852586423177416399551195056",
                "304130325404906457216299424689752384851",
                "212652703552572186367246873854572334597",
                "29271510291853680498041897185761525956",
                "275008816510134337762925860701004260754",
                "333610018684724484102989365984694458076",
                "271548276297944230781490077518180637435"
            ]
        },
        "deprecated": false,
        "signature_type": "Line",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d4bf956547c38c04fad8d72a961ac4dc00bad000",
        "signature_version": "v1"
    },
    {
        "id": "CVE-2025-22006-75021343",
        "target": {
            "file": "drivers/net/ethernet/ti/am65-cpsw-nuss.c",
            "function": "am65_cpsw_nuss_ndev_add_tx_napi"
        },
        "digest": {
            "function_hash": "86073914900532904877009255414916236863",
            "length": 825.0
        },
        "deprecated": false,
        "signature_type": "Function",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5f079290e5913a0060e059500b7d440990ac1066",
        "signature_version": "v1"
    },
    {
        "id": "CVE-2025-22006-84636709",
        "target": {
            "file": "drivers/net/ethernet/ti/am65-cpsw-nuss.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "144473508062911883192767632900316020792",
                "42219624325813082924263218889431345048",
                "1162136202911004106616008521200155489",
                "68057080445154141618104097041733308675",
                "220246324043965778661606332529263725206",
                "224177972613940382524039318589971294708",
                "196530918369058271289377962012588837474",
                "272648037781828288714655837821283096931",
                "251390169112480880763355662393979348728",
                "75346211311893954560872624470003882513",
                "326885085993115990024945409977190129158",
                "326337926609433799580572672948274439805",
                "83487597571842988756011556871436196807",
                "55686602927315956331121112715880021337",
                "310971604626931062066499647635308502364",
                "293038455933524184704490583337363451576",
                "338831393159726086764988884689336842695",
                "214138643497804926976025423276792685825",
                "302302237876344266246719971276522200458",
                "155364850499980690778110513048023361560",
                "27477512962491284476250699620653006755",
                "337078604562444364335193067188244212043",
                "166719371173711575583853406430218398288",
                "140272702331455860631260490280190716502",
                "116781223988123122914295397491799368778",
                "242127899782517761457778259456918303391",
                "202573004983330475973379818838335180537",
                "77126175836353494032238324330227698301",
                "151713525640400120586728389889200360325",
                "255233317271974869549667184560642200164",
                "166029043061920651082781243399526732369",
                "56619447355154630180762721981342247359",
                "125692685451852586423177416399551195056",
                "304130325404906457216299424689752384851",
                "212652703552572186367246873854572334597",
                "29271510291853680498041897185761525956",
                "275008816510134337762925860701004260754",
                "333610018684724484102989365984694458076",
                "271548276297944230781490077518180637435"
            ]
        },
        "deprecated": false,
        "signature_type": "Line",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@942557abed7f38b77a47d77b92d448802eefe185",
        "signature_version": "v1"
    },
    {
        "id": "CVE-2025-22006-a27a741c",
        "target": {
            "file": "drivers/net/ethernet/ti/am65-cpsw-nuss.c",
            "function": "am65_cpsw_nuss_init_rx_chns"
        },
        "digest": {
            "function_hash": "57173564734453507971502373126406064268",
            "length": 3233.0
        },
        "deprecated": false,
        "signature_type": "Function",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@942557abed7f38b77a47d77b92d448802eefe185",
        "signature_version": "v1"
    },
    {
        "id": "CVE-2025-22006-cba1f0ce",
        "target": {
            "file": "drivers/net/ethernet/ti/am65-cpsw-nuss.c",
            "function": "am65_cpsw_nuss_init_rx_chns"
        },
        "digest": {
            "function_hash": "57173564734453507971502373126406064268",
            "length": 3233.0
        },
        "deprecated": false,
        "signature_type": "Function",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@5f079290e5913a0060e059500b7d440990ac1066",
        "signature_version": "v1"
    },
    {
        "id": "CVE-2025-22006-e464e189",
        "target": {
            "file": "drivers/net/ethernet/ti/am65-cpsw-nuss.c",
            "function": "am65_cpsw_nuss_ndev_add_tx_napi"
        },
        "digest": {
            "function_hash": "86073914900532904877009255414916236863",
            "length": 825.0
        },
        "deprecated": false,
        "signature_type": "Function",
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@d4bf956547c38c04fad8d72a961ac4dc00bad000",
        "signature_version": "v1"
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
6.12.14
Fixed
6.12.21
Type
ECOSYSTEM
Events
Introduced
6.13.3
Fixed
6.13.9