Skip to main content

Boteraser | Website and Server Security Solutions

🛡️ CVE-2022-50144 on Ubuntu — linux

⚪ Unknown ✅ No Known Exploit OSV
N/A
CVSS Score
0 Low4 Medium7 High9 Critical10

Description

In the Linux kernel, the following vulnerability has been resolved: soundwire: revisit driver bind/unbind and callbacks In the SoundWire probe, we store a pointer from the driver ops into the 'slave' structure. This can lead to kernel oopses when unbinding codec drivers, e.g. with the following sequence to remove machine driver and codec driver. /sbin/modprobe -r snd_soc_sof_sdw /sbin/modprobe -r snd_soc_rt711 The full details can be found in the BugLink below, for reference the two following examples show different cases of driver ops/callbacks being invoked after the driver .remove(). kernel: BUG: kernel NULL pointer dereference, address: 0000000000000150 kernel: Workqueue: events cdns_update_slave_status_work [soundwire_cadence] kernel: RIP: 0010:mutex_lock+0x19/0x30 kernel: Call Trace: kernel: ? sdw_handle_slave_status+0x426/0xe00 [soundwire_bus 94ff184bf398570c3f8ff7efe9e32529f532e4ae] kernel: ? newidle_balance+0x26a/0x400 kernel: ? cdns_update_slave_status_work+0x1e9/0x200 [soundwire_cadence 1bcf98eebe5ba9833cd433323769ac923c9c6f82] kernel: BUG: unable to handle page fault for address: ffffffffc07654c8 kernel: Workqueue: pm pm_runtime_work kernel: RIP: 0010:sdw_bus_prep_clk_stop+0x6f/0x160 [soundwire_bus] kernel: Call Trace: kernel: <TASK> kernel: sdw_cdns_clock_stop+0xb5/0x1b0 [soundwire_cadence 1bcf98eebe5ba9833cd433323769ac923c9c6f82] kernel: intel_suspend_runtime+0x5f/0x120 [soundwire_intel aca858f7c87048d3152a4a41bb68abb9b663a1dd] kernel: ? dpm_sysfs_remove+0x60/0x60 This was not detected earlier in Intel tests since the tests first remove the parent PCI device and shut down the bus. The sequence above is a corner case which keeps the bus operational but without a driver bound. While trying to solve this kernel oopses, it became clear that the existing SoundWire bus does not deal well with the unbind case. Commit 528be501b7d4a ("soundwire: sdw_slave: add probe_complete structure and new fields") added a 'probed' status variable and a 'probe_complete' struct completion. This status is however not reset on remove and likewise the 'probe complete' is not re-initialized, so the bind/unbind/bind test cases would fail. The timeout used before the 'update_status' callback was also a bad idea in hindsight, there should really be no timing assumption as to if and when a driver is bound to a device. An initial draft was based on device_lock() and device_unlock() was tested. This proved too complicated, with deadlocks created during the suspend-resume sequences, which also use the same device_lock/unlock() as the bind/unbind sequences. On a CometLake device, a bad DSDT/BIOS caused spurious resumes and the use of device_lock() caused hangs during suspend. After multiple weeks or testing and painful reverse-engineering of deadlocks on different devices, we looked for alternatives that did not interfere with the device core. A bus notifier was used successfully to keep track of DRIVER_BOUND and DRIVER_UNBIND events. This solved the bind-unbind-bind case in tests, but it can still be defeated with a theoretical corner case where the memory is freed by a .remove while the callback is in use. The notifier only helps make sure the driver callbacks are valid, but not that the memory allocated in probe remains valid while the callbacks are invoked. This patch suggests the introduction of a new 'sdw_dev_lock' mutex protecting probe/remove and all driver callbacks. Since this mutex is 'local' to SoundWire only, it does not interfere with existing locks and does not create deadlocks. In addition, this patch removes the 'probe_complete' completion, instead we directly invoke the 'update_status' from the probe routine. That removes any sort of timing dependency and a much better support for the device/driver model, the driver could be bound before the bus started, or eons after the bus started and the hardware would be properly initialized in all cases. BugLink: https://github.com/thesofproject/linux/is ---truncated---

Distribution advisory

This page covers CVE-2022-50144 as tracked by Ubuntu, for the package linux. The fix is available in version 5.15.0-53.59; earlier versions remain affected.

How this vulnerability can be exploited

This issue can be reached with local access to the system, attack complexity is low, an attacker needs low-level privileges on the target. No user interaction is required. The scope is unchanged, so the impact stays within the vulnerable component. Rated impact: confidentiality none, integrity none, availability high.

CVSS metrics in full

The score comes from this vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H

  • Attack vector: Local — a local account, shell or session on the host is needed.
  • Attack complexity: Low — the attack works reliably, with no preparation.
  • Privileges required: Low — an ordinary user account is enough.
  • User interaction: None — nobody has to be tricked into anything.
  • Scope: Unchanged — the damage stays inside the vulnerable component.
  • Confidentiality impact: None.
  • Integrity impact: None.
  • Availability impact: High — total loss, or loss the attacker controls.

Affected software

UBUNTU-CVE-2022-50144 is recorded against 108 packages.

  • linux (fixed in 5.15.0-53.59)
  • linux-allwinner-5.19
  • linux-aws (fixed in 5.15.0-1023.27)
  • linux-aws-5.0
  • linux-aws-5.11
  • linux-aws-5.13
  • linux-aws-5.15 (fixed in 5.15.0-1023.27~20.04.1)
  • linux-aws-5.19
  • linux-aws-5.3
  • linux-aws-5.4
  • linux-aws-5.8
  • linux-aws-6.2
  • linux-aws-6.5
  • linux-aws-fips
  • linux-azure (fixed in 5.15.0-1023.29)
  • linux-azure-5.11
  • linux-azure-5.13
  • linux-azure-5.15 (fixed in 5.15.0-1023.29~20.04.1)
  • linux-azure-5.19
  • linux-azure-5.3
  • linux-azure-5.4
  • linux-azure-5.8
  • linux-azure-6.2
  • linux-azure-6.5
Show the remaining 84 packages
  • linux-azure-edge
  • linux-azure-fde
  • linux-azure-fde-5.19
  • linux-azure-fde-6.2
  • linux-azure-fips
  • linux-bluefield
  • linux-fips
  • linux-gcp (fixed in 5.15.0-1022.29)
  • linux-gcp-5.11
  • linux-gcp-5.13
  • linux-gcp-5.15 (fixed in 5.15.0-1022.29~20.04.1)
  • linux-gcp-5.19
  • linux-gcp-5.3
  • linux-gcp-5.4
  • linux-gcp-5.8
  • linux-gcp-6.2
  • linux-gcp-6.5
  • linux-gcp-fips
  • linux-gke (fixed in 5.15.0-1020.25)
  • linux-gke-4.15
  • linux-gke-5.15
  • linux-gke-5.4
  • linux-gkeop (fixed in 5.15.0-1008.12)
  • linux-gkeop-5.15
  • linux-gkeop-5.4
  • linux-hwe
  • linux-hwe-5.11
  • linux-hwe-5.13
  • linux-hwe-5.15 (fixed in 5.15.0-53.59~20.04.1)
  • linux-hwe-5.19
  • linux-hwe-5.4
  • linux-hwe-5.8
  • linux-hwe-6.2
  • linux-hwe-6.5
  • linux-hwe-edge
  • linux-ibm (fixed in 5.15.0-1018.21)
  • linux-ibm-5.4
  • linux-intel-5.13
  • linux-intel-iot-realtime
  • linux-intel-iotg (fixed in 5.15.0-1018.23)
  • linux-intel-iotg-5.15 (fixed in 5.15.0-1018.23~20.04.1)
  • linux-iot
  • linux-kvm (fixed in 5.15.0-1021.26)
  • linux-lowlatency (fixed in 5.15.0-53.59)
  • linux-lowlatency-hwe-5.15 (fixed in 5.15.0-53.59~20.04.1)
  • linux-lowlatency-hwe-5.19
  • linux-lowlatency-hwe-6.2
  • linux-lowlatency-hwe-6.5
  • linux-nvidia (fixed in 5.15.0-1015.15)
  • linux-nvidia-6.2
  • linux-nvidia-6.5
  • linux-oem
  • linux-oem-5.10
  • linux-oem-5.13
  • linux-oem-5.14
  • linux-oem-5.17
  • linux-oem-5.6
  • linux-oem-6.0
  • linux-oem-6.1
  • linux-oem-6.5
  • linux-oracle (fixed in 5.15.0-1022.28)
  • linux-oracle-5.0
  • linux-oracle-5.11
  • linux-oracle-5.13
  • linux-oracle-5.15 (fixed in 5.15.0-1022.28~20.04.1)
  • linux-oracle-5.3
  • linux-oracle-5.4
  • linux-oracle-5.8
  • linux-oracle-6.5
  • linux-raspi (fixed in 5.15.0-1018.20)
  • linux-raspi-5.4
  • linux-raspi-realtime
  • linux-raspi2
  • linux-realtime
  • linux-riscv
  • linux-riscv-5.11
  • linux-riscv-5.15 (fixed in 5.15.0-1023.27~20.04.1)
  • linux-riscv-5.19
  • linux-riscv-5.8
  • linux-riscv-6.5
  • linux-starfive-5.19
  • linux-starfive-6.2
  • linux-starfive-6.5
  • linux-xilinx-zynqmp

Timeline and source

Published on 18 June 2025 and last revised on 17 August 2026. No public exploit is currently recorded for this entry. Record sourced from OSV.

References

ubuntu.com (Report)
www.cve.org (Report)
git.kernel.org (Report)
git.kernel.org (Report)
git.kernel.org (Report)
git.kernel.org (Report)

Other advisories for this package

linux has other advisories on record. If you are patching this one, these are worth checking on the same host:

CVE-2022-50144 on other distributions

Each distribution ships its own build and its own fixed version. Pick the one you run:

Details

Severity Unknown
CVSS Score N/A
CVSS Vector CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H
CWE N/A
Public Exploit ✅ No
Source OSV
Published 2025-06-18
Updated 2026-08-20
Modified 2026-08-17
Fix URL N/A

Affected Packages

Software From version Fixed in
linux — 5.15.0-53.59
linux-allwinner-5.19 — —
linux-aws — 5.15.0-1023.27
linux-aws-5.0 — —
linux-aws-5.11 — —
linux-aws-5.13 — —
linux-aws-5.15 — 5.15.0-1023.27~20.04.1
linux-aws-5.19 — —
linux-aws-5.3 — —
linux-aws-5.4 — —
linux-aws-5.8 — —
linux-aws-6.2 — —
linux-aws-6.5 — —
linux-aws-fips — —
linux-azure — 5.15.0-1023.29
linux-azure-5.11 — —
linux-azure-5.13 — —
linux-azure-5.15 — 5.15.0-1023.29~20.04.1
linux-azure-5.19 — —
linux-azure-5.3 — —
linux-azure-5.4 — —
linux-azure-5.8 — —
linux-azure-6.2 — —
linux-azure-6.5 — —
linux-azure-edge — —
linux-azure-fde — —
linux-azure-fde-5.19 — —
linux-azure-fde-6.2 — —
linux-azure-fips — —
linux-bluefield — —
linux-fips — —
linux-gcp — 5.15.0-1022.29
linux-gcp-5.11 — —
linux-gcp-5.13 — —
linux-gcp-5.15 — 5.15.0-1022.29~20.04.1
linux-gcp-5.19 — —
linux-gcp-5.3 — —
linux-gcp-5.4 — —
linux-gcp-5.8 — —
linux-gcp-6.2 — —
linux-gcp-6.5 — —
linux-gcp-fips — —
linux-gke — 5.15.0-1020.25
linux-gke-4.15 — —
linux-gke-5.15 — —
linux-gke-5.4 — —
linux-gkeop — 5.15.0-1008.12
linux-gkeop-5.15 — —
linux-gkeop-5.4 — —
linux-hwe — —
linux-hwe-5.11 — —
linux-hwe-5.13 — —
linux-hwe-5.15 — 5.15.0-53.59~20.04.1
linux-hwe-5.19 — —
linux-hwe-5.4 — —
linux-hwe-5.8 — —
linux-hwe-6.2 — —
linux-hwe-6.5 — —
linux-hwe-edge — —
linux-ibm — 5.15.0-1018.21
linux-ibm-5.4 — —
linux-intel-5.13 — —
linux-intel-iot-realtime — —
linux-intel-iotg — 5.15.0-1018.23
linux-intel-iotg-5.15 — 5.15.0-1018.23~20.04.1
linux-iot — —
linux-kvm — 5.15.0-1021.26
linux-lowlatency — 5.15.0-53.59
linux-lowlatency-hwe-5.15 — 5.15.0-53.59~20.04.1
linux-lowlatency-hwe-5.19 — —
linux-lowlatency-hwe-6.2 — —
linux-lowlatency-hwe-6.5 — —
linux-nvidia — 5.15.0-1015.15
linux-nvidia-6.2 — —
linux-nvidia-6.5 — —
linux-oem — —
linux-oem-5.10 — —
linux-oem-5.13 — —
linux-oem-5.14 — —
linux-oem-5.17 — —
linux-oem-5.6 — —
linux-oem-6.0 — —
linux-oem-6.1 — —
linux-oem-6.5 — —
linux-oracle — 5.15.0-1022.28
linux-oracle-5.0 — —
linux-oracle-5.11 — —
linux-oracle-5.13 — —
linux-oracle-5.15 — 5.15.0-1022.28~20.04.1
linux-oracle-5.3 — —
linux-oracle-5.4 — —
linux-oracle-5.8 — —
linux-oracle-6.5 — —
linux-raspi — 5.15.0-1018.20
linux-raspi-5.4 — —
linux-raspi-realtime — —
linux-raspi2 — —
linux-realtime — —
linux-riscv — —
linux-riscv-5.11 — —
linux-riscv-5.15 — 5.15.0-1023.27~20.04.1
linux-riscv-5.19 — —
linux-riscv-5.8 — —
linux-riscv-6.5 — —
linux-starfive-5.19 — —
linux-starfive-6.2 — —
linux-starfive-6.5 — —
linux-xilinx-zynqmp — —

Similar Threats

Vulnerability Monitoring

Track new vulnerabilities in linux

UBUNTU-CVE-2022-50144 is rated CVSS 5.5 Medium. BotEraser monitors your WordPress installation and notifies you when software you use appears in our vulnerability database.

Set Up Free Alerts →

No credit card required  ·  Results in minutes

ⓘ Data Notice: The information presented above has been compiled from publicly available internet sources. Boteraser aggregates this data solely for informational purposes and does not independently classify, evaluate, or endorse any findings about the vulnerabilities listed. The accuracy and completeness of this information is the sole responsibility of the original publishers. Boteraser and its operators accept no liability for any decisions made based on this data.

Browse related advisories

All advisoriesUbuntuUbuntu 2022
✓