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

Published Oct 23, 2026
·
Updated

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

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

In case of an error in dpaa2switchrx(), the dpaa2switchfreefd() function is called in order to free the FD. This is incorrect since the dpaa2switchfreefd() 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 devkfreeskb().

Fix this by extracting the dmaunmappage() from dpaa2switchbuildlinearskb() directly into the dpaa2switchrx() function. This allows us to directly use freepages() in case of an error before an SKB was created and kfreeskb() afterwards.

Affected Software

1 affected component
Linux Linux kernel

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Compensating control

    Fix dpaa2_switch_rx() error handling by extracting dma_unmap_page() from dpaa2_switch_build_linear_skb() directly into dpaa2_switch_rx(); do not use dpaa2_switch_free_fd() for this error path, because it expects a valid skb pointer in the FD software annotation area. Use free_pages() before an SKB is created and kfree_skb() afterward.

Event History

Oct 23, 2026
CVE Published
via MITRE·11:54 AM
Data Sourced
via MITRE·11:54 AM
Description

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203