AZL-118721: CVE-2026-143398 affecting package kernel 6.6.161.1-1

Published Dec 3, 2026
·
Updated

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

Input: destroy force-feedback device on input unregistration

When an input device is unregistered while userspace holds an open file descriptor to its event node, inputdevrelease() is deferred until the last file descriptor is closed. Because inputffdestroy() was only called from inputdevrelease(), force-feedback teardown (ff->destroy and freeing ff->private) could run after the parent driver had already unbound, freed its device state, or even been unloaded via rmmod, causing use-after-free errors or page faults in unmapped module text.

Commit ef166ce08801 ("Input: stop force-feedback timer when unregistering input devices") added a separate ff->stop callback for ff-memless, but left ff->destroy invoked from inputdevrelease().

Once inputunregisterdevice() has disconnected all input handlers (which flushes effects, closes the device, and marks evdev dead) and deleted the device from sysfs, nothing accesses dev->ff anymore. Call inputffdestroy() directly in inputunregisterdevice() so that ff->destroy() always runs synchronously while the driver and its module are still active, and remove the now-redundant ff->stop callback. Keep inputffdestroy() in inputdevrelease() (where it is a no-op once dev->ff is NULL) to handle inputfreedevice() on devices that were never registered.

Affected Software

1 affected component
azure-linux/kernel<=6.6.161.1-1

Event History

Dec 3, 2026
Advisory Published
via OSV·10:18 AM
Data Sourced
via OSV·10:18 AM
DescriptionAffected Software

Child vulnerabilities

Contains the following vulnerabilities.

Frequently Asked Questions

1

What conditions are required to trigger the unsafe teardown?

An input device with force-feedback support must be unregistered while userspace still holds an open file descriptor to its event node. The deferred device release can then invoke force-feedback destruction after the parent driver has already been unbound or its state freed.

2

Which systems are most exposed to this issue?

Systems using force-feedback input devices are relevant, particularly where their drivers or modules may be unbound or unloaded while applications retain open event-device file descriptors. The affected software identified here is the azure-linux/kernel package version 6.6.161.1-1.

3

How might an affected system behave?

The issue can produce use-after-free errors or page faults in unmapped module text during force-feedback teardown. These failures would be associated with input-device unregistration and a still-open userspace event-node descriptor.

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