CVE-2026-74706: bnge: Fix NULL pointer dereference in aux device release

Published Aug 22, 2026
·
Updated

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

bnge: Fix NULL pointer dereference in aux device release

If allocation of auxrdev fails during auxiliary device setup, the error path calls auxiliarydeviceuninit(), which eventually invokes bngeauxdevrelease().

The release callback unconditionally dereferences auxpriv->auxrdev->pdev to retrieve the parent bngedev. Since auxrdev has not yet been allocated on this failure path, the dereference results in a NULL pointer exception

Retrieve the parent bngedev from the auxiliary device's parent instead of auxrdev, and free auxrdev only when it was successfully allocated. This allows the release callback to correctly clean up partially initialized auxiliary devices.

Affected Software

1 affected component
Linux Linux kernel

Event History

Aug 22, 2026
CVE Published
via MITRE·03:33 PM
Data Sourced
via MITRE·03:33 PM
Description
Data Sourced
via NVD·04:16 PM
Description

Frequently Asked Questions

1

Under what condition can this issue be triggered?

It occurs when allocation of auxr_dev fails during auxiliary device setup. The subsequent cleanup path invokes the auxiliary-device release callback while auxr_dev is still NULL.

2

What is the practical impact of the failure?

The release callback dereferences aux_priv->auxr_dev->pdev even though auxr_dev was not allocated, causing a NULL pointer exception during cleanup of a partially initialized auxiliary device.

3

How does the fix prevent the crash?

The fix obtains the parent bnge_dev from the auxiliary device's parent rather than from auxr_dev. It also frees auxr_dev only if its allocation succeeded.

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