Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2022-48870— tty: fix possible null-ptr-defer in spk_ttyio_release

AI Predicted 5.9 Difficulty: Moderate EPSS 0.25% · P16

Possible ATT&CK Techniques 1AI

T1211 · Exploitation for Stealth

Affected Version Matrix 8

VendorProductVersion RangeStatus
LinuxLinux4f2a81f3a88217e7340b2cab5c0a5ebd0112514c< 2da67bff29ab49caafb0766e8b8383b735ff796faffected
4f2a81f3a88217e7340b2cab5c0a5ebd0112514c< 64152e05a4de3ebf59f1740a0985a6d5fba0c77baffected
4f2a81f3a88217e7340b2cab5c0a5ebd0112514c< 5abbeebd8296c2301023b8dc4b5a6c0d5229b4f5affected
5.12affected
< 5.12unaffected
5.15.90≤ 5.15.*unaffected
6.1.8≤ 6.1.*unaffected
6.2≤ *unaffected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2022-48870

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
tty: fix possible null-ptr-defer in spk_ttyio_release
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: tty: fix possible null-ptr-defer in spk_ttyio_release Run the following tests on the qemu platform: syzkaller:~# modprobe speakup_audptr input: Speakup as /devices/virtual/input/input4 initialized device: /dev/synth, node (MAJOR 10, MINOR 125) speakup 3.1.6: initialized synth name on entry is: (null) synth probe spk_ttyio_initialise_ldisc failed because tty_kopen_exclusive returned failed (errno -16), then remove the module, we will get a null-ptr-defer problem, as follow: syzkaller:~# modprobe -r speakup_audptr releasing synth audptr BUG: kernel NULL pointer dereference, address: 0000000000000080 #PF: supervisor write access in kernel mode #PF: error_code(0x0002) - not-present page PGD 0 P4D 0 Oops: 0002 [#1] PREEMPT SMP PTI CPU: 2 PID: 204 Comm: modprobe Not tainted 6.1.0-rc6-dirty #1 RIP: 0010:mutex_lock+0x14/0x30 Call Trace: <TASK> spk_ttyio_release+0x19/0x70 [speakup] synth_release.part.6+0xac/0xc0 [speakup] synth_remove+0x56/0x60 [speakup] __x64_sys_delete_module+0x156/0x250 ? fpregs_assert_state_consistent+0x1d/0x50 do_syscall_64+0x37/0x90 entry_SYSCALL_64_after_hwframe+0x63/0xcd </TASK> Modules linked in: speakup_audptr(-) speakup Dumping ftrace buffer: in_synth->dev was not initialized during modprobe, so we add check for in_synth->dev to fix this bug.
Source: CVE Program / CVE List V5
CVSS Information
N/A
Source: CVE Program / CVE List V5
Vulnerability Type
N/A
Source: CVE Program / CVE List V5
Vulnerability Title
Linux kernel 安全漏洞
Source: CNNVD (China National Vulnerability Database)
Vulnerability Description
Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel 存在安全漏洞,该漏洞源于 tty 组件在spk_ttyio_release中可能存在空指针延迟引用问题。
Source: CNNVD (China National Vulnerability Database)
CVSS Information
N/A
Source: CNNVD (China National Vulnerability Database)
Vulnerability Type
N/A
Source: CNNVD (China National Vulnerability Database)

Affected Products

VendorProductAffected VersionsCPESubscribe
LinuxLinux 4f2a81f3a88217e7340b2cab5c0a5ebd0112514c ~ 2da67bff29ab49caafb0766e8b8383b735ff796f -
LinuxLinux 5.12 -

II. Public POCs for CVE-2022-48870

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2022-48870

登录查看更多情报信息。

Other References for CVE-2022-48870 (3)

Same Patch Batch · Linux · 2024-08-21 · 69 CVEs total

CVE-2023-529108.8 HIGHiommu/iova: Fix alloc iova overflows issue
CVE-2024-438818.8 HIGHwifi: ath12k: change DMA direction while mapping reinjected packets
CVE-2022-488718.8 HIGHtty: serial: qcom-geni-serial: fix slab-out-of-bounds on RX FIFO buffer
CVE-2024-438788.1 HIGHxfrm: Fix input error path memory access
CVE-2024-438777.8 HIGHmedia: pci: ivtv: Add check for DMA map result
CVE-2023-529077.8 HIGHnfc: pn533: Wait for out_urb's completion in pn533_usb_send_frame()
CVE-2023-529037.8 HIGHio_uring: lock overflowing for IOPOLL
CVE-2022-488997.8 HIGHdrm/virtio: Fix GEM handle creation UAF
CVE-2022-488927.8 HIGHsched/core: Fix use-after-free bug in dup_user_cpus_ptr()
CVE-2022-488877.8 HIGHdrm/vmwgfx: Remove rcu locks from user resources
CVE-2022-488837.8 HIGHnet/mlx5e: IPoIB, Block PKEY interfaces with less rx queues than parent
CVE-2022-488787.8 HIGHBluetooth: hci_qca: Fix driver shutdown on closed serdev
CVE-2022-488747.8 HIGHmisc: fastrpc: Fix use-after-free and race in fastrpc_map_find
CVE-2022-488737.8 HIGHmisc: fastrpc: Don't remove map on creater_process and device_release
CVE-2022-488727.8 HIGHmisc: fastrpc: Fix use-after-free race condition for maps
CVE-2024-438827.8 HIGHexec: Fix ToCToU between perm check and set-uid/gid usage
CVE-2024-438807.8 HIGHmlxsw: spectrum_acl_erp: Fix object nesting warning
CVE-2023-529137.8 HIGHdrm/i915: Fix potential context UAFs
CVE-2023-529097.5 HIGHnfsd: fix handling of cached open files in nfsd4_open codepath
CVE-2024-438727.5 HIGHRDMA/hns: Fix soft lockup under heavy CEQE load

Showing top 20 of 69 CVEs. View all on vendor page &rarr; →

IV. Related Vulnerabilities

V. Comments for CVE-2022-48870

No comments yet


Leave a comment