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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-89879— media: s2255: bound JPEG frame size before copying into the buffer

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 内核中,已解决以下漏洞: media: s2255: 在向缓冲区拷贝前限制 JPEG 帧大小 s2255_fillbuff() 函数会将捕获到的 JPEG/MJPEG 帧的 vc->jpg_size 字节通过 memcpy() 拷贝到 vb2 平面中。vc->jpg_size 直接取自设备发送的 S2255_MARKER_FRAME 头部(save_frame() 中的 pdword[4]),与上方已做范围检查的帧负载长度不同,它从未进行边界限制: 因此,一个恶意或故障的设备可以报告一个比目标 vb

AI Predicted 7.1 Difficulty: Hard EPSS 0.21% · P11

Possible ATT&CK Techniques 1 AI

T1190 · Exploit Public-Facing Application

Affected Version Matrix 18

VendorProduct Version RangeStatus
Linux Linux 38f993ad8b1fe4caf9e989caf6e2a25aff3bbaf7< 32a595dd3e8634544e5cfbc47f906dff3d3c1ef8 affected
38f993ad8b1fe4caf9e989caf6e2a25aff3bbaf7< 4b6f7bccc6559ae5c54573c284fe76eafc9989b2 affected
38f993ad8b1fe4caf9e989caf6e2a25aff3bbaf7< 2542516a147bfad740e7e411c251b639fad260ff affected
38f993ad8b1fe4caf9e989caf6e2a25aff3bbaf7< 79f58f900dd221ab04ea74bf4eaf79fa3b0fcc77 affected
38f993ad8b1fe4caf9e989caf6e2a25aff3bbaf7< d2ecaaab6a4f165abb54cdf61be60030b5782bf8 affected
38f993ad8b1fe4caf9e989caf6e2a25aff3bbaf7< 68d664f1b4efe525e99154b7058fcb0378bdaff7 affected
38f993ad8b1fe4caf9e989caf6e2a25aff3bbaf7< dd739517560c8d0ec4463a53e717bf40b988d7da affected
38f993ad8b1fe4caf9e989caf6e2a25aff3bbaf7< e504cc888f42999dd76b6a43788c422610f2aad2 affected
… +10 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-89879

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
media: s2255: bound JPEG frame size before copying into the buffer
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: media: s2255: bound JPEG frame size before copying into the buffer s2255_fillbuff() memcpy()s vc->jpg_size bytes of a captured JPEG/MJPEG frame into the vb2 plane. vc->jpg_size is taken verbatim from the S2255_MARKER_FRAME header the device sends (pdword[4] in save_frame()) and, unlike the frame payload length just above it, is never bounded: payload = le32_to_cpu(pdword[3]); if (payload > vc->req_image_size) /* payload is checked ... */ return -EINVAL; vc->pkt_size = payload; vc->jpg_size = le32_to_cpu(pdword[4]); /* ... jpg_size is not */ A malicious or malfunctioning device can therefore report a jpg_size larger than the destination vb2 plane, and the memcpy() writes past it. jpg_size is a signed int, so a value with the top bit set also turns into a huge length. Reject a frame whose jpg_size is negative or exceeds the plane size before copying it.
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

Affected Products

Vendor Product Affected Versions CPE Subscribe
Linux Linux 38f993ad8b1fe4caf9e989caf6e2a25aff3bbaf7 ~ 32a595dd3e8634544e5cfbc47f906dff3d3c1ef8 -
Linux Linux 2.6.27 -

II. Public POCs for CVE-2026-89879

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

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-89879

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

Other References for CVE-2026-89879 (8)

Same Patch Batch · Linux · 2026-09-16 · 276 CVEs total

CVE-2026-90048 9.8 CRITICAL fs/ntfs3: fix slab-out-of-bounds write in ni_create_attr_list()
CVE-2026-90012 9.8 CRITICAL spi: Fix DMA mapping ownership on partial map failure
CVE-2026-89970 9.8 CRITICAL nvmet-auth: Synchronize timeout work during SQ teardown
CVE-2026-89857 9.8 CRITICAL scsi: qla2xxx: Hold qpair lock when sending NVMe LS reject
CVE-2026-89969 9.8 CRITICAL nvmet-tcp: fix out-of-bounds write when receiving an over-long PDU
CVE-2026-89847 9.8 CRITICAL scsi: qla2xxx: Avoid double completion in async IOCB timeout
CVE-2026-89972 9.8 CRITICAL nvme: add missing SRCU grace period in error path
CVE-2026-89990 9.8 CRITICAL ceph: lock mutex in ceph_mds_check_access()
CVE-2026-90036 9.8 CRITICAL NFSD: Prevent client use-after-free during blocked-lock reaping
CVE-2026-90038 9.8 CRITICAL NFSD: Prevent client use-after-free during export state revocation
CVE-2026-90037 9.8 CRITICAL NFSD: Prevent client use-after-free during close_lru reaping
CVE-2026-89788 9.8 CRITICAL ksmbd: fix tree connection use-after-free in smb2_tree_connect()
CVE-2026-89783 9.8 CRITICAL xfrm6: fix out-of-bounds write in xfrm6_input_addr() when secpath is full
CVE-2026-90042 9.8 CRITICAL ceph: properly decrypt filenames in vmalloc() buffers
CVE-2026-89778 9.8 CRITICAL isofs: fix out-of-bounds page array access on empty zisofs block
CVE-2026-89915 9.3 CRITICAL KVM: arm64: Remove VM-wide VNCR mapping counter
CVE-2026-90049 9.3 CRITICAL net: skbuff: don't skb_tx_error() the source skb in skb_zerocopy()
CVE-2026-89775 9.3 CRITICAL KVM: arm64: Handle negative S1 walk levels in VNCR TLB size evaluation
CVE-2026-89916 9.3 CRITICAL KVM: arm64: Make VNCR invalidation participate in MMU invalidation retry
CVE-2026-89930 9.3 CRITICAL KVM: nVMX: Service local TLB flushes on failed nested VM-Enter

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

IV. Related Vulnerabilities

V. Comments for CVE-2026-89879

No comments yet


Leave a comment