Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-48871

HIGH 8.8EPSS 32%

tty: serial: qcom-geni-serial: fix slab-out-of-bounds on RX FIFO buffer

Mitigation

  • No fix listed yet: follow the vendor advisory.

Who should check

  • Anyone running Linux >= f9d690b6ece7ec9a6ff6b588df95a010ab2d66f9, < 894681682dbefdad917b88f86cde1069140a047a; >= f9d690b6ece7ec9a6ff6b588df95a010ab2d66f9, < cb53a3366eb28fed67850c80afa52075bb71a38a; >= f9d690b6ece7ec9a6ff6b588df95a010ab2d66f9, < fd524ca7fe45b8a06dca2dd546d62684a9768f95; >= f9d690b6ece7ec9a6ff6b588df95a010ab2d66f9, < b8caf69a6946e18ffebad49847e258f5b6d52ac2
  • Anyone running Linux 5.7

Vulnerability facts

Affected
Linux >= f9d690b6ece7ec9a6ff6b588df95a010ab2d66f9, < 894681682dbefdad917b88f86cde1069140a047a; >= f9d690b6ece7ec9a6ff6b588df95a010ab2d66f9, < cb53a3366eb28fed67850c80afa52075bb71a38a; >= f9d690b6ece7ec9a6ff6b588df95a010ab2d66f9, < fd524ca7fe45b8a06dca2dd546d62684a9768f95; >= f9d690b6ece7ec9a6ff6b588df95a010ab2d66f9, < b8caf69a6946e18ffebad49847e258f5b6d52ac2; Linux 5.7
Fixed in
Linux 894681682dbefdad917b88f86cde1069140a047a
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
None known
Remote exploitation
Not remotely exploitable (local or adjacent access needed)
CVSS
8.8 (v3.1, CNA)CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Adjacent network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: High
  • Integrity impact: High
  • Availability impact: High
EPSS
0.46% chance of exploitation in 30 days (percentile 32, 2026-11-26)
CWE
CWE-125
Published
Modified

Description

In the Linux kernel, the following vulnerability has been resolved: tty: serial: qcom-geni-serial: fix slab-out-of-bounds on RX FIFO buffer Driver's probe allocates memory for RX FIFO (port->rx_fifo) based on default RX FIFO depth, e.g. 16. Later during serial startup the qcom_geni_serial_port_setup() updates the RX FIFO depth (port->rx_fifo_depth) to match real device capabilities, e.g. to 32. The RX UART handle code will read "port->rx_fifo_depth" number of words into "port->rx_fifo" buffer, thus exceeding the bounds. This can be observed in certain configurations with Qualcomm Bluetooth HCI UART device and KASAN: Bluetooth: hci0: QCA Product ID :0x00000010 Bluetooth: hci0: QCA SOC Version :0x400a0200 Bluetooth: hci0: QCA ROM Version :0x00000200 Bluetooth: hci0: QCA Patch Version:0x00000d2b Bluetooth: hci0: QCA controller version 0x02000200 Bluetooth: hci0: QCA Downloading qca/htbtfw20.tlv bluetooth hci0: Direct firmware load for qca/htbtfw20.tlv failed with error -2 Bluetooth: hci0: QCA Failed to request file: qca/htbtfw20.tlv (-2) Bluetooth: hci0: QCA Failed to download patch (-2) ================================================================== BUG: KASAN: slab-out-of-bounds in handle_rx_uart+0xa8/0x18c Write of size 4 at addr ffff279347d578c0 by task swapper/0/0 CPU: 0 PID: 0 Comm: swapper/0 Not tainted 6.1.0-rt5-00350-gb2450b7e00be-dirty #26 Hardware name: Qualcomm Technologies, Inc. Robotics RB5 (DT) Call trace: dump_backtrace.part.0+0xe0/0xf0 show_stack+0x18/0x40 dump_stack_lvl+0x8c/0xb8 print_report+0x188/0x488 kasan_report+0xb4/0x100 __asan_store4+0x80/0xa4 handle_rx_uart+0xa8/0x18c qcom_geni_serial_handle_rx+0x84/0x9c qcom_geni_serial_isr+0x24c/0x760 __handle_irq_event_percpu+0x108/0x500 handle_irq_event+0x6c/0x110 handle_fasteoi_irq+0x138/0x2cc generic_handle_domain_irq+0x48/0x64 If the RX FIFO depth changes after probe, be sure to resize the buffer.

Affected and fixed versions

Package / productAffectedFixedSource
Linux>= f9d690b6ece7ec9a6ff6b588df95a010ab2d66f9, < 894681682dbefdad917b88f86cde1069140a047a; >= f9d690b6ece7ec9a6ff6b588df95a010ab2d66f9, < cb53a3366eb28fed67850c80afa52075bb71a38a; >= f9d690b6ece7ec9a6ff6b588df95a010ab2d66f9, < fd524ca7fe45b8a06dca2dd546d62684a9768f95; >= f9d690b6ece7ec9a6ff6b588df95a010ab2d66f9, < b8caf69a6946e18ffebad49847e258f5b6d52ac2—cvelist
Linux5.7—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-48871. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-48871.md
Affected: Linux >= f9d690b6ece7ec9a6ff6b588df95a010ab2d66f9, < 894681682dbefdad917b88f86cde1069140a047a; >= f9d690b6ece7ec9a6ff6b588df95a010ab2d66f9, < cb53a3366eb28fed67850c80afa52075bb71a38a; >= f9d690b6ece7ec9a6ff6b588df95a010ab2d66f9, < fd524ca7fe45b8a06dca2dd546d62684a9768f95; >= f9d690b6ece7ec9a6ff6b58…
Fixed in: Linux 894681682dbefdad917b88f86cde1069140a047a

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-48871 being exploited?

There is no confirmed exploitation: CVE-2022-48871 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.46% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-48871?

High: CVSS 8.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

Which versions are affected by CVE-2022-48871?

Linux >= f9d690b6ece7ec9a6ff6b588df95a010ab2d66f9, < 894681682dbefdad917b88f86cde1069140a047a; >= f9d690b6ece7ec9a6ff6b588df95a010ab2d66f9, < cb53a3366eb28fed67850c80afa52075bb71a38a; >= f9d690b6ece7ec9a6ff6b588df95a010ab2d66f9, < fd524ca7fe45b8a06dca2dd546d62684a9768f95; >= f9d690b6ece7ec9a6ff6b588df95a010ab2d66f9, < b8caf69a6946e18ffebad49847e258f5b6d52ac2; Linux 5.7.

Is there a fix for CVE-2022-48871?

Yes. Fixed in Linux 894681682dbefdad917b88f86cde1069140a047a. No fix listed yet: follow the vendor advisory.

How do I check if I'm affected by CVE-2022-48871?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors