CVE-2024-49998

Source
https://nvd.nist.gov/vuln/detail/CVE-2024-49998
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-49998.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-49998
Downstream
Related
Published
2024-10-21T18:02:38Z
Modified
2025-10-15T01:44:37.047386Z
Summary
net: dsa: improve shutdown sequence
Details

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

net: dsa: improve shutdown sequence

Alexander Sverdlin presents 2 problems during shutdown with the lan9303 driver. One is specific to lan9303 and the other just happens to reproduce there.

The first problem is that lan9303 is unique among DSA drivers in that it calls devgetdrvdata() at "arbitrary runtime" (not probe, not shutdown, not remove):

phystatemachine() -> ... -> dsauserphyread() -> ds->ops->phyread() -> lan9303phyread() -> chip->ops->phyread() -> lan9303mdiophyread() -> devgetdrvdata()

But we never stop the phystatemachine(), so it may continue to run after dsaswitchshutdown(). Our common pattern in all DSA drivers is to set drvdata to NULL to suppress the remove() method that may come afterwards. But in this case it will result in an NPD.

The second problem is that the way in which we set dp->conduit->dsaptr = NULL; is concurrent with receive packet processing. dsaswitchrcv() checks once whether dev->dsaptr is NULL, but afterwards, rather than continuing to use that non-NULL value, dev->dsaptr is dereferenced again and again without NULL checks: dsaconduitfinduser() and many other places. In between dereferences, there is no locking to ensure that what was valid once continues to be valid.

Both problems have the common aspect that closing the conduit interface solves them.

In the first case, devclose(conduit) triggers the NETDEVGOINGDOWN event in dsausernetdeviceevent() which closes user ports as well. dsaportdisablert() calls phylinkstop(), which synchronously stops the phylink state machine, and ds->ops->phy_read() will thus no longer call into the driver after this point.

In the second case, dev_close(conduit) should do this, as per Documentation/networking/driver.rst:

| Quiescence | ---------- | | After the ndo_stop routine has been called, the hardware must | not receive or transmit any data. All in flight packets must | be aborted. If necessary, poll or wait for completion of | any reset commands.

So it should be sufficient to ensure that later, when we zeroize conduit->dsaptr, there will be no concurrent dsaswitch_rcv() call on this conduit.

The addition of the netifdevicedetach() function is to ensure that ioctls, rtnetlinks and ethtool requests on the user ports no longer propagate down to the driver - we're no longer prepared to handle them.

The race condition actually did not exist when commit 0650bf52b31f ("net: dsa: be compatible with masters which unregister on shutdown") first introduced dsaswitchshutdown(). It was created later, when we stopped unregistering the user interfaces from a bad spot, and we just replaced that sequence with a racy zeroization of conduit->dsa_ptr (one which doesn't ensure that the interfaces aren't up).

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
ff45899e732e57088985e3a497b1d9100571c0f5
Fixed
87bd909a7014e32790e8c759d5b7694a95778ca5
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ee534378f00561207656663d93907583958339ae
Fixed
ab5d3420a1120950703dbdc33698b28a6ebc3d23
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ee534378f00561207656663d93907583958339ae
Fixed
b4a65d479213fe84ecb14e328271251eebe69492
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
ee534378f00561207656663d93907583958339ae
Fixed
6c24a03a61a245fe34d47582898331fa034b6ccd
Type
GIT
Repo
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Last affected
89b60402d43cdab4387dbbf24afebda5cf092ae7

Affected versions

v2.*

v2.6.12
v2.6.12-rc2
v2.6.12-rc3
v2.6.12-rc4
v2.6.12-rc5
v2.6.12-rc6
v2.6.13
v2.6.13-rc1
v2.6.13-rc2
v2.6.13-rc3
v2.6.13-rc4
v2.6.13-rc5
v2.6.13-rc6
v2.6.13-rc7
v2.6.14
v2.6.14-rc1
v2.6.14-rc2
v2.6.14-rc3
v2.6.14-rc4
v2.6.14-rc5
v2.6.15
v2.6.15-rc1
v2.6.15-rc2
v2.6.15-rc3
v2.6.15-rc4
v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-rc8
v4.9
v4.9-rc1
v4.9-rc2
v4.9-rc3
v4.9-rc4
v4.9-rc5
v4.9-rc6
v4.9-rc7
v4.9-rc8

v5.*

v5.0
v5.0-rc1
v5.0-rc2
v5.0-rc3
v5.0-rc4
v5.0-rc5
v5.0-rc6
v5.0-rc7
v5.0-rc8
v5.1
v5.1-rc1
v5.1-rc2
v5.1-rc3
v5.1-rc4
v5.1-rc5
v5.1-rc6
v5.1-rc7
v5.10
v5.10-rc1
v5.10-rc2
v5.10-rc3
v5.10-rc4
v5.10-rc5
v5.10-rc6
v5.10-rc7
v5.11
v5.11-rc1
v5.11-rc2
v5.11-rc3
v5.11-rc4
v5.11-rc5
v5.11-rc6
v5.11-rc7
v5.12
v5.12-rc1
v5.12-rc1-dontuse
v5.12-rc2
v5.12-rc3
v5.12-rc4
v5.12-rc5
v5.12-rc6
v5.12-rc7
v5.12-rc8
v5.13
v5.13-rc1
v5.13-rc2
v5.13-rc3
v5.13-rc4
v5.13-rc5
v5.13-rc6
v5.13-rc7
v5.14
v5.14-rc1
v5.14-rc2
v5.14-rc3
v5.14-rc4
v5.14-rc5
v5.14-rc6
v5.14-rc7
v5.15
v5.15-rc1
v5.15-rc2
v5.15-rc3
v5.15-rc4
v5.15-rc5
v5.15-rc6
v5.15-rc7
v5.15.155
v5.15.156
v5.15.157
v5.15.158
v5.15.159
v5.15.160
v5.15.161
v5.15.162
v5.15.163
v5.15.164
v5.15.165
v5.15.166
v5.15.167
v5.15.168
v5.15.169
v5.15.170
v5.15.171
v5.15.172
v5.15.173
v5.15.174
v5.15.175
v5.16
v5.16-rc1
v5.16-rc2
v5.16-rc3
v5.16-rc4
v5.16-rc5
v5.16-rc6
v5.16-rc7
v5.16-rc8
v5.16.1
v5.16.2
v5.16.3
v5.16.4
v5.16.5
v5.16.6
v5.16.7
v5.16.8
v5.16.9
v5.17
v5.17-rc3
v5.17-rc4
v5.17-rc5
v5.17-rc6
v5.17-rc7
v5.17-rc8
v5.18
v5.18-rc1
v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v6.11-rc2
v6.11-rc3
v6.11-rc4
v6.11-rc5
v6.11-rc6
v6.11-rc7
v6.11.1
v6.11.2
v6.2
v6.2-rc1
v6.2-rc2
v6.2-rc3
v6.2-rc4
v6.2-rc5
v6.2-rc6
v6.2-rc7
v6.2-rc8
v6.3
v6.3-rc1
v6.3-rc2
v6.3-rc3
v6.3-rc4
v6.3-rc5
v6.3-rc6
v6.3-rc7
v6.4
v6.4-rc1
v6.4-rc2
v6.4-rc3
v6.4-rc4
v6.4-rc5
v6.4-rc6
v6.4-rc7
v6.5
v6.5-rc1
v6.5-rc2
v6.5-rc3
v6.5-rc4
v6.5-rc5
v6.5-rc6
v6.5-rc7
v6.6
v6.6-rc1
v6.6-rc2
v6.6-rc3
v6.6-rc4
v6.6-rc5
v6.6-rc6
v6.6-rc7
v6.7
v6.7-rc1
v6.7-rc2
v6.7-rc3
v6.7-rc4
v6.7-rc5
v6.7-rc6
v6.7-rc7
v6.7-rc8
v6.8
v6.8-rc1
v6.8-rc2
v6.8-rc3
v6.8-rc4
v6.8-rc5
v6.8-rc6
v6.8-rc7
v6.9
v6.9-rc1
v6.9-rc2
v6.9-rc3
v6.9-rc4
v6.9-rc5
v6.9-rc6
v6.9-rc7

Database specific

vanir_signatures

[
    {
        "signature_type": "Function",
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b4a65d479213fe84ecb14e328271251eebe69492",
        "signature_version": "v1",
        "target": {
            "function": "dsa_switch_shutdown",
            "file": "net/dsa/dsa.c"
        },
        "digest": {
            "function_hash": "215298323376952629542513761531769131157",
            "length": 395.0
        },
        "id": "CVE-2024-49998-0d7c59df"
    },
    {
        "signature_type": "Function",
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6c24a03a61a245fe34d47582898331fa034b6ccd",
        "signature_version": "v1",
        "target": {
            "function": "dsa_switch_shutdown",
            "file": "net/dsa/dsa.c"
        },
        "digest": {
            "function_hash": "215298323376952629542513761531769131157",
            "length": 395.0
        },
        "id": "CVE-2024-49998-1290180f"
    },
    {
        "signature_type": "Line",
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@b4a65d479213fe84ecb14e328271251eebe69492",
        "signature_version": "v1",
        "target": {
            "file": "net/dsa/dsa.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "317064288380257502268294162492885187755",
                "91874812013139331160793295325556393983",
                "19043471649288973341097188787894916450",
                "72660801298717766336958793315172285737",
                "66976125040392543681917493489796997447",
                "38763969988702247257041061185376451542",
                "59093052980989605462510618448171295490",
                "227303508826306700004582210971652122929",
                "30490282952837747864690858364082115738",
                "51913632949391564463354259634481921298"
            ]
        },
        "id": "CVE-2024-49998-3950d278"
    },
    {
        "signature_type": "Function",
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@87bd909a7014e32790e8c759d5b7694a95778ca5",
        "signature_version": "v1",
        "target": {
            "function": "dsa_switch_shutdown",
            "file": "net/dsa/dsa2.c"
        },
        "digest": {
            "function_hash": "310218511132883004028207172938218284300",
            "length": 492.0
        },
        "id": "CVE-2024-49998-5278c3de"
    },
    {
        "signature_type": "Line",
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@87bd909a7014e32790e8c759d5b7694a95778ca5",
        "signature_version": "v1",
        "target": {
            "file": "net/dsa/dsa2.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "157824196860406443674575387331458010085",
                "321770343972926839605730546277579813750",
                "179148135290069337744741102514040976560",
                "200090264693587893152451762119692148363",
                "74463177183124645418349259571131064926",
                "176191686276237097470759436494981272888",
                "161092393196289632696163549626996567749",
                "141372531865139628473854383487109157606",
                "146426030349534872731616867832733912109",
                "149801711410467090726247287389757052184"
            ]
        },
        "id": "CVE-2024-49998-5b63d5c9"
    },
    {
        "signature_type": "Line",
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ab5d3420a1120950703dbdc33698b28a6ebc3d23",
        "signature_version": "v1",
        "target": {
            "file": "net/dsa/dsa.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "317064288380257502268294162492885187755",
                "91874812013139331160793295325556393983",
                "19043471649288973341097188787894916450",
                "72660801298717766336958793315172285737",
                "66976125040392543681917493489796997447",
                "38763969988702247257041061185376451542",
                "59093052980989605462510618448171295490",
                "227303508826306700004582210971652122929",
                "30490282952837747864690858364082115738",
                "51913632949391564463354259634481921298"
            ]
        },
        "id": "CVE-2024-49998-a31b98f4"
    },
    {
        "signature_type": "Line",
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@6c24a03a61a245fe34d47582898331fa034b6ccd",
        "signature_version": "v1",
        "target": {
            "file": "net/dsa/dsa.c"
        },
        "digest": {
            "threshold": 0.9,
            "line_hashes": [
                "317064288380257502268294162492885187755",
                "91874812013139331160793295325556393983",
                "19043471649288973341097188787894916450",
                "72660801298717766336958793315172285737",
                "66976125040392543681917493489796997447",
                "38763969988702247257041061185376451542",
                "59093052980989605462510618448171295490",
                "227303508826306700004582210971652122929",
                "30490282952837747864690858364082115738",
                "51913632949391564463354259634481921298"
            ]
        },
        "id": "CVE-2024-49998-bf7ebd9d"
    },
    {
        "signature_type": "Function",
        "deprecated": false,
        "source": "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git@ab5d3420a1120950703dbdc33698b28a6ebc3d23",
        "signature_version": "v1",
        "target": {
            "function": "dsa_switch_shutdown",
            "file": "net/dsa/dsa.c"
        },
        "digest": {
            "function_hash": "215298323376952629542513761531769131157",
            "length": 395.0
        },
        "id": "CVE-2024-49998-d9a4ff0a"
    }
]

Linux / Kernel

Package

Name
Kernel

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
5.15.176
Type
ECOSYSTEM
Events
Introduced
5.16.0
Fixed
6.10.14
Type
ECOSYSTEM
Events
Introduced
5.17.0
Fixed
6.11.3