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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2023-52527— ipv4, ipv6: Fix handling of transhdrlen in __ip{,6}_append_data()

Quick assessment

Affected
Linux Linux
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

Linux kernel是美国Linux基金会的开源操作系统Linux所使用的内核。 Linux kernel存在安全漏洞,该漏洞源于当附加到 IPv4 或 IPv6 数据包时,当数据包部分填充时(例如之前发生过 send(MSG_MORE) 之类的事情),包含 transhdrlen 的长度就会出现问题。

AI Predicted 5.5 Difficulty: Moderate EPSS 0.23% · P12

Possible ATT&CK Techniques 1 AI

T1499.002 · Service Exhaustion Flood

Affected Version Matrix 18

VendorProduct Version RangeStatus
Linux Linux a32e0eec7042b21ccb52896cf715e3e2641fed93< 7626b9fed53092aa2147978070e610ecb61af844 affected
a32e0eec7042b21ccb52896cf715e3e2641fed93< 559d697c5d072593d22b3e0bd8b8081108aeaf59 affected
a32e0eec7042b21ccb52896cf715e3e2641fed93< 1fc793d68d50dee4782ef2e808913d5dd880bcc6 affected
a32e0eec7042b21ccb52896cf715e3e2641fed93< 96b2e1090397217839fcd6c9b6d8f5d439e705ed affected
a32e0eec7042b21ccb52896cf715e3e2641fed93< cd1189956393bf850b2e275e37411855d3bd86bb affected
a32e0eec7042b21ccb52896cf715e3e2641fed93< f6a7182179c0ed788e3755ee2ed18c888ddcc33f affected
a32e0eec7042b21ccb52896cf715e3e2641fed93< fe80658c08e3001c80c5533cd41abfbb0e0e28fd affected
a32e0eec7042b21ccb52896cf715e3e2641fed93< 9d4c75800f61e5d75c1659ba201b6c0c7ead3070 affected
… +10 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2023-52527

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
ipv4, ipv6: Fix handling of transhdrlen in __ip{,6}_append_data()
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: ipv4, ipv6: Fix handling of transhdrlen in __ip{,6}_append_data() Including the transhdrlen in length is a problem when the packet is partially filled (e.g. something like send(MSG_MORE) happened previously) when appending to an IPv4 or IPv6 packet as we don't want to repeat the transport header or account for it twice. This can happen under some circumstances, such as splicing into an L2TP socket. The symptom observed is a warning in __ip6_append_data(): WARNING: CPU: 1 PID: 5042 at net/ipv6/ip6_output.c:1800 __ip6_append_data.isra.0+0x1be8/0x47f0 net/ipv6/ip6_output.c:1800 that occurs when MSG_SPLICE_PAGES is used to append more data to an already partially occupied skbuff. The warning occurs when 'copy' is larger than the amount of data in the message iterator. This is because the requested length includes the transport header length when it shouldn't. This can be triggered by, for example: sfd = socket(AF_INET6, SOCK_DGRAM, IPPROTO_L2TP); bind(sfd, ...); // ::1 connect(sfd, ...); // ::1 port 7 send(sfd, buffer, 4100, MSG_MORE); sendfile(sfd, dfd, NULL, 1024); Fix this by only adding transhdrlen into the length if the write queue is empty in l2tp_ip6_sendmsg(), analogously to how UDP does things. l2tp_ip_sendmsg() looks like it won't suffer from this problem as it builds the UDP packet itself.
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存在安全漏洞,该漏洞源于当附加到 IPv4 或 IPv6 数据包时,当数据包部分填充时(例如之前发生过 send(MSG_MORE) 之类的事情),包含 transhdrlen 的长度就会出现问题。
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

Vendor Product Affected Versions CPE Subscribe
Linux Linux a32e0eec7042b21ccb52896cf715e3e2641fed93 ~ 7626b9fed53092aa2147978070e610ecb61af844 -
Linux Linux 3.5 -

II. Public POCs for CVE-2023-52527

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2023-52527

请登录查看更多情报信息。

Other References for CVE-2023-52527 (8)

Same Patch Batch · Linux · 2024-03-02 · 57 CVEs total

CVE-2023-52515 9.8 CRITICAL RDMA/srp: Do not call scsi_done() from srp_abort()
CVE-2023-52522 8.8 HIGH net: fix possible store tearing in neigh_periodic_work()
CVE-2023-52530 8.8 HIGH wifi: mac80211: fix potential key use-after-free
CVE-2023-52502 8.8 HIGH net: nfc: fix races in nfc_llcp_sock_get() and nfc_llcp_sock_get_sn()
CVE-2024-26621 8.2 HIGH mm: huge_memory: don't force huge page alignment on 32 bit
CVE-2023-52523 7.8 HIGH bpf, sockmap: Reject sk_msg egress redirects to non-TCP sockets
CVE-2023-52509 7.8 HIGH ravb: Fix use-after-free issue in ravb_tx_timeout_work()
CVE-2023-52572 7.8 HIGH cifs: Fix UAF in cifs_demultiplex_thread()
CVE-2023-52574 7.8 HIGH team: fix null-ptr-deref when team device type is changed
CVE-2023-52517 7.8 HIGH spi: sun6i: fix race between DMA RX transfer completion and RX FIFO drain
CVE-2023-52503 7.8 HIGH tee: amdtee: fix use-after-free vulnerability in amdtee_close_session
CVE-2023-52513 7.5 HIGH RDMA/siw: Fix connection failure handling
CVE-2023-52565 7.1 HIGH media: uvcvideo: Fix OOB read
CVE-2023-52560 mm/damon/vaddr-test: fix memory leak in damon_do_test_apply_three_regions()
CVE-2023-52564 Revert "tty: n_gsm: fix UAF in gsm_cleanup_mux"
CVE-2023-52562 mm/slab_common: fix slab_caches list corruption after kmem_cache_destroy()
CVE-2023-52582 netfs: Only call folio_start_fscache() one time for each folio
CVE-2023-52566 nilfs2: fix potential use after free in nilfs_gccache_submit_read_data()
CVE-2023-52559 iommu/vt-d: Avoid memory allocation in iommu_suspend()
CVE-2023-52561 arm64: dts: qcom: sdm845-db845c: Mark cont splash memory region as reserved

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

IV. Related Vulnerabilities

V. Comments for CVE-2023-52527

No comments yet


Leave a comment