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

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-53304— scsi: sg: Resolve soft lockup issue when opening /dev/sgX

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 2.6.19版本存在安全漏洞,该漏洞源于sg模块参数def_reserved_size验证不足,可能导致绕过限制从而引发软锁定。

AI Predicted 5.5 Difficulty: Trivial EPSS 0.10% · P1

Possible ATT&CK Techniques 1 AI

T1059 · Command and Scripting Interpreter

Affected Version Matrix 18

VendorProduct Version RangeStatus
Linux Linux 6460e75a104d10458817d2f5b2fbff775bf0b43a< 3d74e0654ac908c65a8f20373091826fe43b1363 affected
6460e75a104d10458817d2f5b2fbff775bf0b43a< c47ccfb3d80dfed522ca06a5954ac97488d78c5a affected
6460e75a104d10458817d2f5b2fbff775bf0b43a< fe671d3c84ffb1b763d590c25195755adeaadaba affected
6460e75a104d10458817d2f5b2fbff775bf0b43a< c5f4a211e82d04ccc1809311322c47023bbe66e2 affected
6460e75a104d10458817d2f5b2fbff775bf0b43a< 9676ca7b1ef31a3a65b3e61e7ce3b54ce7364202 affected
6460e75a104d10458817d2f5b2fbff775bf0b43a< 1afd963fcd963db0dc5d47df6dfcf010c9c4647e affected
6460e75a104d10458817d2f5b2fbff775bf0b43a< feade299e932967de27519338d41de348fb5b061 affected
6460e75a104d10458817d2f5b2fbff775bf0b43a< d06a310b45e153872033dd0cf19d5a2279121099 affected
… +10 more rows
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-53304

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
scsi: sg: Resolve soft lockup issue when opening /dev/sgX
Source: CVE Program / CVE List V5
Vulnerability Description
In the Linux kernel, the following vulnerability has been resolved: scsi: sg: Resolve soft lockup issue when opening /dev/sgX The parameter def_reserved_size defines the default buffer size reserved for each Sg_fd and should be restricted to a range between 0 and 1,048,576 (see https://tldp.org/HOWTO/SCSI-Generic-HOWTO/proc.html). Although the function sg_proc_write_dressz enforces this limit, it is possible to bypass it by directly modifying the module parameter as shown below, which then causes a soft lockup: echo -1 > /sys/module/sg/parameters/def_reserved_size exec 4<> /dev/sg0 watchdog: BUG: soft lockup - CPU#5 stuck for 26 seconds! [bash:537] Modules loaded: CPU: 5 UID: 0 PID: 537 Command: bash, kernel version 6.19.0-rc3+ #134, PREEMPT disabled Hardware: QEMU Standard PC (i440FX + PIIX, 1996), BIOS version 1.16.1-2.fc37 dated 04/01/2014 ... Call Trace: sg_build_reserve+0x5c/0xa0 sg_add_sfp+0x168/0x270 sg_open+0x16e/0x340 chrdev_open+0xbe/0x230 do_dentry_open+0x175/0x480 vfs_open+0x34/0xf0 do_open+0x265/0x3d0 path_openat+0x110/0x290 do_filp_open+0xc3/0x170 do_sys_openat2+0x71/0xe0 __x64_sys_openat+0x6d/0xa0 do_syscall_64+0x62/0x310 entry_SYSCALL_64_after_hwframe+0x76/0x7e The fix is to use module_param_cb to validate and reject invalid values assigned to def_reserved_size.
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 2.6.19版本存在安全漏洞,该漏洞源于sg模块参数def_reserved_size验证不足,可能导致绕过限制从而引发软锁定。
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 6460e75a104d10458817d2f5b2fbff775bf0b43a ~ 3d74e0654ac908c65a8f20373091826fe43b1363 -
Linux Linux 2.6.19 -

II. Public POCs for CVE-2026-53304

# 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-53304

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

Patches & Fixes for CVE-2026-53304 (8)

Same Patch Batch · Linux · 2026-06-26 · 47 CVEs total

CVE-2026-53309 9.8 CRITICAL ocfs2/dlm: fix off-by-one in dlm_match_regions() region comparison
CVE-2026-53281 8.8 HIGH iommu/vt-d: Avoid NULL pointer dereference or refcount corruption
CVE-2026-53322 8.8 HIGH vfio/pci: Clean up DMABUFs before disabling function
CVE-2026-53300 7.8 HIGH net: enetc: fix NTMP DMA use-after-free issue
CVE-2026-53290 7.8 HIGH drm/xe/eustall: Fix drm_dev_put called before stream disable in close
CVE-2026-53284 7.5 HIGH btrfs: only release the dirty pages io tree after successful writes
CVE-2026-53324 net: mana: Use pci_name() for debugfs directory naming
CVE-2026-53306 tty: hvc_iucv: fix off-by-one in number of supported devices
CVE-2026-53319 blk-wbt: remove WARN_ON_ONCE from wbt_init_enable_default()
CVE-2026-53321 io_uring/napi: cap busy_poll_to 10 msec
CVE-2026-53320 nilfs2: reject zero bd_oblocknr in nilfs_ioctl_mark_blocks_dirty()
CVE-2026-53323 net: dsa: remove redundant netdev_lock_ops() from conduit ethtool ops
CVE-2026-53313 drm/amd/display: Avoid NULL dereference in dc_dmub_srv error paths
CVE-2026-53312 iommu/riscv: Remove overflows on the invalidation path
CVE-2026-53311 fuse: fix uninit-value in fuse_dentry_revalidate()
CVE-2026-53310 soc/tegra: cbb: Fix cross-fabric target timeout lookup
CVE-2026-53308 power: supply: max77705: Free allocated workqueue and fix removal order
CVE-2026-53307 pinctrl: pinconf-generic: Fully validate 'pinmux' property
CVE-2026-53305 usb: typec: ps883x: Fix Oops at unbind
CVE-2026-53301 reset: amlogic: t7: Fix null reset ops

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

IV. Related Vulnerabilities

V. Comments for CVE-2026-53304

No comments yet


Leave a comment