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

Goal: 1000 CNY · Raised: 1336 CNY

100%

CVE-2023-53768— regmap-irq: Fix out-of-bounds access when allocating config buffers

CVSS 7.8 · High EPSS 0.14% · P4

Affected Version Matrix 8

VendorProductVersion RangeStatus
LinuxLinuxfaa87ce9196dbb074d75bd4aecb8bacf18f19b4e< b1a726ad33e585e3d9fa70712df31ae105e4532caffected
faa87ce9196dbb074d75bd4aecb8bacf18f19b4e< 6e7b2337ecd028bd888a1a0be4115b8a88faf838affected
faa87ce9196dbb074d75bd4aecb8bacf18f19b4e< 963b54df82b6d6206d7def273390bf3f7af558e1affected
6.0affected
< 6.0unaffected
6.1.40≤ 6.1.*unaffected
6.4.5≤ 6.4.*unaffected
6.5≤ *unaffected
Get alerts for future matching vulnerabilitiesLog in to subscribe

I. Basic Information for CVE-2023-53768

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
regmap-irq: Fix out-of-bounds access when allocating config buffers
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: regmap-irq: Fix out-of-bounds access when allocating config buffers When allocating the 2D array for handling IRQ type registers in regmap_add_irq_chip_fwnode(), the intent is to allocate a matrix with num_config_bases rows and num_config_regs columns. This is currently handled by allocating a buffer to hold a pointer for each row (i.e. num_config_bases). After that, the logic attempts to allocate the memory required to hold the register configuration for each row. However, instead of doing this allocation for each row (i.e. num_config_bases allocations), the logic erroneously does this allocation num_config_regs number of times. This scenario can lead to out-of-bounds accesses when num_config_regs is greater than num_config_bases. Fix this by updating the terminating condition of the loop that allocates the memory for holding the register configuration to allocate memory only for each row in the matrix. Amit Pundir reported a crash that was occurring on his db845c device due to memory corruption (see "Closes" tag for Amit's report). The KASAN report below helped narrow it down to this issue: [ 14.033877][ T1] ================================================================== [ 14.042507][ T1] BUG: KASAN: invalid-access in regmap_add_irq_chip_fwnode+0x594/0x1364 [ 14.050796][ T1] Write of size 8 at addr 06ffff8081021850 by task init/1 [ 14.242004][ T1] The buggy address belongs to the object at ffffff8081021850 [ 14.242004][ T1] which belongs to the cache kmalloc-8 of size 8 [ 14.255669][ T1] The buggy address is located 0 bytes inside of [ 14.255669][ T1] 8-byte region [ffffff8081021850, ffffff8081021858)
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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存在安全漏洞,该漏洞源于配置缓冲区分配不当,可能导致越界访问。
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 faa87ce9196dbb074d75bd4aecb8bacf18f19b4e ~ b1a726ad33e585e3d9fa70712df31ae105e4532c -
LinuxLinux 6.0 -

II. Public POCs for CVE-2023-53768

#POC DescriptionSource LinkShenlong Link
AI-Generated POCPremium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-53768

登录查看更多情报信息。

Same Patch Batch · Linux · 2025-12-08 · 82 CVEs total

CVE-2023-537519.8 CRITICALcifs: fix potential use-after-free bugs in TCP_Server_Info::hostname
CVE-2025-403209.8 CRITICALsmb: client: fix potential cfid UAF in smb2_query_info_compound
CVE-2023-537699.3 CRITICALvirt/coco/sev-guest: Double-buffer messages
CVE-2025-403188.8 HIGHBluetooth: hci_sync: fix race in hci_cmd_sync_dequeue_once
CVE-2023-537648.8 HIGHwifi: ath12k: Handle lock during peer_id find
CVE-2023-537628.8 HIGHBluetooth: hci_sync: Fix UAF in hci_disconnect_all_sync
CVE-2025-402928.4 HIGHvirtio-net: fix received length check in big packets
CVE-2025-403098.0 HIGHBluetooth: SCO: Fix UAF on sco_conn_free
CVE-2025-403037.8 HIGHbtrfs: ensure no dirty metadata is written back for an fs with errors
CVE-2022-506237.8 HIGHfpga: prevent integer overflow in dfl_feature_ioctl_set_irq()
CVE-2022-506307.8 HIGHmm: hugetlb: fix UAF in hugetlb_handle_userfault
CVE-2023-537477.8 HIGHvc_screen: reload load of struct vc_data pointer in vcs_write() to avoid UAF
CVE-2025-403177.8 HIGHregmap: slimbus: fix bus_context pointer in regmap init calls
CVE-2025-402907.8 HIGHxsk: avoid data corruption on cq descriptor number
CVE-2025-403197.8 HIGHbpf: Sync pending IRQ work before freeing ring buffer
CVE-2025-403237.8 HIGHfbcon: Set fb_display[i]->mode to NULL when the mode is released
CVE-2023-537537.8 HIGHdrm/amd/display: fix mapping to non-allocated address
CVE-2023-537527.8 HIGHnet: deal with integer overflows in kmalloc_reserve()
CVE-2025-402917.8 HIGHio_uring: fix regbuf vector size truncation
CVE-2023-537597.8 HIGHHID: hidraw: fix data race on device refcount

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

IV. Related Vulnerabilities

V. Comments for CVE-2023-53768

No comments yet


Leave a comment