CVE-2026-98911

dpaa2-switch: fix the error path in dpaa2_switch_rx()

State
Published
Severity
7.5 High
Published
Oct 23, 2026
Updated
Oct 26, 2026
Reserved
Sep 25, 2026

Read the record on cve.org

Description

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

dpaa2-switch: fix the error path in dpaa2_switch_rx()

In case of an error in dpaa2_switch_rx(), the dpaa2_switch_free_fd() function is called in order to free the FD. This is incorrect since the dpaa2_switch_free_fd() is intended to be used on Tx frame descriptors, meaning that it expects in the software annotation area of the FD data to find a valid skb pointer on which to call dev_kfree_skb().

Fix this by extracting the dma_unmap_page() from dpaa2_switch_build_linear_skb() directly into the dpaa2_switch_rx() function. This allows us to directly use free_pages() in case of an error before an SKB was created and kfree_skb() afterwards.

Scores

CVSSScoreVectorSource
3.17.5 HighCVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:HLinux

Weaknesses

The record names no weakness.

Affected Products

ProductVersions
LinuxLinux
  • 613c0a5810b79610db8535c3816b0c149675f8ee to before 791068c962469af0090e1a1ee63657fb9eef40dbAffected
  • 613c0a5810b79610db8535c3816b0c149675f8ee to before ee54f8d7e642c44cfcc2dcb390b4c50e145d81b8Affected
  • 613c0a5810b79610db8535c3816b0c149675f8ee to before 259ad6093204b999d41e7e6d0ad90ef9a71a44abAffected
  • 613c0a5810b79610db8535c3816b0c149675f8ee to before f4ceb8e3d6d5becb4cda7a7098a8638e18c835a1Affected
  • 613c0a5810b79610db8535c3816b0c149675f8ee to before fa232b4496cb59503ae5108c756cbe10e59b0bc3Affected
  • 613c0a5810b79610db8535c3816b0c149675f8ee to before 74c1c9f5c0c30bbd0c2cf87b6e3507e7ea46c13dAffected
LinuxLinux
  • 5.13Affected
  • before 5.13Not affected
  • 5.15.222 through 5.15.*Not affected
  • 6.1.189 through 6.1.*Not affected
  • 6.6.158 through 6.6.*Not affected
  • 6.12.111 through 6.12.*Not affected
  • 6.18.53 through 6.18.*Not affected
  • 7.2 and laterNot affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.