Every CVESearch/Get API key

CVE-2026-143408

crypto: qat - initialise state_lock on every path in adf_devmgr_add_dev()

Explain with AI
ChatGPTClaudeGoogle AI
Scores
Unknown
No source reports a CVSS or EPSS score yet.
Exploitation
Unknown
No source reports exploitation yet.
Listed fix
6.1.193 for Kernel
From OSV6 more listed versions

Overview

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

crypto: qat - initialise state_lock on every path in adf_devmgr_add_dev()

state_lock is initialised at the end of adf_devmgr_add_dev(), but the VF on host path whose id mapping already exists returns earlier via 'goto unlock'. That mapping outlives the VF, so this path is taken every time a VF is recreated on a BDF that already hosted one, e.g.:

echo 0 > sriov_numvfs
echo 32 > sriov_numvfs

accel_dev is freshly allocated on each probe, so state_lock is left zeroed and adf_dev_up() takes an uninitialised mutex. With CONFIG_DEBUG_MUTEXES this is reported on a dh895xcc with 32 host-bound VFs:

DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: kernel/locking/mutex.c:159 at mutex_lock+0x171/0x1c0 Call Trace: adf_dev_up+0x27/0xe0 [intel_qat] adf_probe+0x700/0xa80 [qat_dh895xccvf] local_pci_probe+0xd5/0x190

The same happens on teardown when adf_dev_down() locks it again.

Initialise the lock next to the other per-device state, before the tables are updated, so it is done on every path.

Affected

Packages 1

Affected packages
PackageAffectedFixed
Kernel
Linux
6.1.28 up to 6.1.193, 6.2.15 up to 6.3, 6.3.2 up to 6.4, 6.4.0 up to 6.6.163, 6.7.0 up to 6.12.117, 6.13.0 up to 6.18.63, 6.19.0 up to 7.3.4
6.1.1936.36.46.6.1636.12.1176.18.637.3.4

Products 1

Sources

CVE ListNo score

crypto: qat - initialise state_lock on every path in adf_devmgr_add_dev()

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

crypto: qat - initialise state_lock on every path in adf_devmgr_add_dev()

state_lock is initialised at the end of adf_devmgr_add_dev(), but the VF on host path whose id mapping already exists returns earlier via 'goto unlock'. That mapping outlives the VF, so this path is taken every time a VF is recreated on a BDF that already hosted one, e.g.:

echo 0 > sriov_numvfs
echo 32 > sriov_numvfs

accel_dev is freshly allocated on each probe, so state_lock is left zeroed and adf_dev_up() takes an uninitialised mutex. With CONFIG_DEBUG_MUTEXES this is reported on a dh895xcc with 32 host-bound VFs:

DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: kernel/locking/mutex.c:159 at mutex_lock+0x171/0x1c0 Call Trace: adf_dev_up+0x27/0xe0 [intel_qat] adf_probe+0x700/0xa80 [qat_dh895xccvf] local_pci_probe+0xd5/0x190

The same happens on teardown when adf_dev_down() locks it again.

Initialise the lock next to the other per-device state, before the tables are updated, so it is done on every path.

Record
CVE-2026-143408
Updated
2026-12-05
EUVDEUVD-2026-145005No score

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

crypto: qat - initialise state_lock on every path in adf_devmgr_add_dev()

state_lock is initialised at the end of adf_devmgr_add_dev(), but the VF on host path whose id mapping already exists returns earlier via 'goto unlock'. That mapping outlives the VF, so this path is taken every time a VF is recreated on a BDF that already hosted one, e.g.:

echo 0 > sriov_numvfs
echo 32 > sriov_numvfs

accel_dev is freshly allocated on each probe, so state_lock is left zeroed and adf_dev_up() takes an uninitialised mutex. With CONFIG_DEBUG_MUTEXES this is reported on a dh895xcc with 32 host-bound VFs:

DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: kernel/locking/mutex.c:159 at mutex_lock+0x171/0x1c0 Call Trace: adf_dev_up+0x27/0xe0 [intel_qat] adf_probe+0x700/0xa80 [qat_dh895xccvf] local_pci_probe+0xd5/0x190

The same happens on teardown when adf_dev_down() locks it again.

Initialise the lock next to the other per-device state, before the tables are updated, so it is done on every path.

Record
EUVD-2026-145005
Updated
2026-12-05
GitHub AdvisoriesGHSA-66gm-53fx-2qfmNo score

In the Linux kernel, the following vulnerability has been resolved: crypto: qat - initialise...

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

crypto: qat - initialise state_lock on every path in adf_devmgr_add_dev()

state_lock is initialised at the end of adf_devmgr_add_dev(), but the VF on host path whose id mapping already exists returns earlier via 'goto unlock'. That mapping outlives the VF, so this path is taken every time a VF is recreated on a BDF that already hosted one, e.g.:

echo 0 > sriov_numvfs
echo 32 > sriov_numvfs

accel_dev is freshly allocated on each probe, so state_lock is left zeroed and adf_dev_up() takes an uninitialised mutex. With CONFIG_DEBUG_MUTEXES this is reported on a dh895xcc with 32 host-bound VFs:

DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: kernel/locking/mutex.c:159 at mutex_lock+0x171/0x1c0 Call Trace: adf_dev_up+0x27/0xe0 [intel_qat] adf_probe+0x700/0xa80 [qat_dh895xccvf] local_pci_probe+0xd5/0x190

The same happens on teardown when adf_dev_down() locks it again.

Initialise the lock next to the other per-device state, before the tables are updated, so it is done on every path.

Record
GHSA-66gm-53fx-2qfm
Updated
2026-12-05
NVDNo score

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

crypto: qat - initialise state_lock on every path in adf_devmgr_add_dev()

state_lock is initialised at the end of adf_devmgr_add_dev(), but the VF on host path whose id mapping already exists returns earlier via 'goto unlock'. That mapping outlives the VF, so this path is taken every time a VF is recreated on a BDF that already hosted one, e.g.:

echo 0 > sriov_numvfs
echo 32 > sriov_numvfs

accel_dev is freshly allocated on each probe, so state_lock is left zeroed and adf_dev_up() takes an uninitialised mutex. With CONFIG_DEBUG_MUTEXES this is reported on a dh895xcc with 32 host-bound VFs:

DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: kernel/locking/mutex.c:159 at mutex_lock+0x171/0x1c0 Call Trace: adf_dev_up+0x27/0xe0 [intel_qat] adf_probe+0x700/0xa80 [qat_dh895xccvf] local_pci_probe+0xd5/0x190

The same happens on teardown when adf_dev_down() locks it again.

Initialise the lock next to the other per-device state, before the tables are updated, so it is done on every path.

Record
CVE-2026-143408
Updated
2026-12-05
OSVNo score

crypto: qat - initialise state_lock on every path in adf_devmgr_add_dev()

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

crypto: qat - initialise state_lock on every path in adf_devmgr_add_dev()

state_lock is initialised at the end of adf_devmgr_add_dev(), but the VF on host path whose id mapping already exists returns earlier via 'goto unlock'. That mapping outlives the VF, so this path is taken every time a VF is recreated on a BDF that already hosted one, e.g.:

echo 0 > sriov_numvfs
echo 32 > sriov_numvfs

accel_dev is freshly allocated on each probe, so state_lock is left zeroed and adf_dev_up() takes an uninitialised mutex. With CONFIG_DEBUG_MUTEXES this is reported on a dh895xcc with 32 host-bound VFs:

DEBUG_LOCKS_WARN_ON(lock->magic != lock) WARNING: kernel/locking/mutex.c:159 at mutex_lock+0x171/0x1c0 Call Trace: adf_dev_up+0x27/0xe0 [intel_qat] adf_probe+0x700/0xa80 [qat_dh895xccvf] local_pci_probe+0xd5/0x190

The same happens on teardown when adf_dev_down() locks it again.

Initialise the lock next to the other per-device state, before the tables are updated, so it is done on every path.

Record
CVE-2026-143408
Updated
2026-12-05

History

Recorded by Every CVE

Changes recorded by Every CVE
DayChangedSources
Other IDs, referencesGitHub Advisories, NVD
Affected packages, key facts, referencesOSV
Other IDs, published dateEUVD
First indexedCVE List

Upstream dates may differ.

References

MoveEnter Open