# 摘要
In the Linux kernel, the following vulnerability has been resolved:
scsi: scsi_debug: Fix out-of-bound read in resp_report_tgtpgs()
The following issue was observed running syzkaller:
BUG: KASAN: slab-out-of-bounds in memcpy include/linux/string.h:377 [inline]
BUG: KASAN: slab-out-of-bounds in sg_copy_buffer+0x150/0x1c0 lib/scatterlist.c:831
Read of size 2132 at addr ffff8880aea95dc8 by task syz-executor.0/9815
CPU: 0 PID: 9815 Comm: syz-executor.0 Not tainted 4.19.202-00874-gfc0fe04215a9 #2
Hardware name: QEMU Standard PC (i440FX + PIIX, 1996), BIOS 1.10.2-1ubuntu1 04/01/2014
Call Trace:
__dump_stack lib/dump_stack.c:77 [inline]
dump_stack+0xe4/0x14a lib/dump_stack.c:118
print_address_description+0x73/0x280 mm/kasan/report.c:253
kasan_report_error mm/kasan/report.c:352 [inline]
kasan_report+0x272/0x370 mm/kasan/report.c:410
memcpy+0x1f/0x50 mm/kasan/kasan.c:302
memcpy include/linux/string.h:377 [inline]
sg_copy_buffer+0x150/0x1c0 lib/scatterlist.c:831
fill_from_dev_buffer+0x14f/0x340 drivers/scsi/scsi_debug.c:1021
resp_report_tgtpgs+0x5aa/0x770 drivers/scsi/scsi_debug.c:1772
schedule_resp+0x464/0x12f0 drivers/scsi/scsi_debug.c:4429
scsi_debug_queuecommand+0x467/0x1390 drivers/scsi/scsi_debug.c:5835
scsi_dispatch_cmd+0x3fc/0x9b0 drivers/scsi/scsi_lib.c:1896
scsi_request_fn+0x1042/0x1810 drivers/scsi/scsi_lib.c:2034
__blk_run_queue_uncond block/blk-core.c:464 [inline]
__blk_run_queue+0x1a4/0x380 block/blk-core.c:484
blk_execute_rq_nowait+0x1c2/0x2d0 block/blk-exec.c:78
sg_common_write.isra.19+0xd74/0x1dc0 drivers/scsi/sg.c:847
sg_write.part.23+0x6e0/0xd00 drivers/scsi/sg.c:716
sg_write+0x64/0xa0 drivers/scsi/sg.c:622
__vfs_write+0xed/0x690 fs/read_write.c:485
kill_bdev:block_device:00000000e138492c
vfs_write+0x184/0x4c0 fs/read_write.c:549
ksys_write+0x107/0x240 fs/read_write.c:599
do_syscall_64+0xc2/0x560 arch/x86/entry/common.c:293
entry_SYSCALL_64_after_hwframe+0x49/0xbe
We get 'alen' from command its type is int. If userspace passes a large
length we will get a negative 'alen'.
Switch n, alen, and rlen to u32.
以上是 CVE 记录(cvelist)中的原文,未经改写。
# 利用条件
按 CVSS 向量说明攻击需要的条件。
- 攻击途径
AV:L - 本地:需要本地或 SSH 会话,或诱使用户在本机上操作
- 攻击复杂度
AC:L - 低:不依赖特殊条件,攻击者可预期重复成功
- 所需权限
PR:L - 低:普通用户权限
- 用户交互
UI:N - 无:除攻击者外不需要任何人配合
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H
CVSS 3.1 向量,来自 CVE 记录,由 CNA Linux 评定。
# 事件记录
+DIS披露
CVE 记录发布,编号分配方是 Linux。CVSS 7.1,高危。
来源 cvelist · 本站 批量导入 · 原始记录
{
"id": 252992,
"type": "disclosed",
"source": "cvelist",
"url": "https://www.cve.org/CVERecord?id=CVE-2021-47219",
"occurred_at": "2024-04-10T19:01:57.694Z",
"observed_at": "2026-11-13T05:37:31.591644Z",
"is_backfill": true,
"dedupe_key": "",
"detail": {
"cvss": {
"source": "cna",
"vector": "CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:H",
"version": "3.1",
"base_score": 7.1,
"base_severity": "HIGH"
},
"ssvc": {
"timestamp": "2024-04-10T19:49:13.779675Z",
"automatable": "no",
"exploitation": "none",
"technical_impact": "partial"
},
"state": "PUBLISHED",
"date_published": "2024-04-10T19:01:57.694Z",
"assigner_short_name": "Linux"
}
}
# 纠错
报告错误或缺失
页面有误或缺失?告诉编辑;采纳后在本页修订记录公开说明,上游数据不会被改动。
无法确认登录状态,请刷新页面后再提交纠错。
请先在账号页设置公开用户名:被采纳的纠错会以它署名。
设置用户名
你的账号已被封禁,暂时不能提交纠错。
# 研究员讨论
近 7 天有 0 位研究员提到
研究员在 X 上提到此 CVE 的帖子,原文照录,nday 不核实。
尚未采集到名单内研究员在 X 上提到此 CVE 的帖子。
# 讨论
0 条评论
无法确认你的登录状态,刷新页面后再发表评论。
评论以 @用户名 署名。请先在账号页设置用户名。
前往账号页
你的账号已被封禁,不能发表、回复、编辑或举报评论;仍可删除自己的评论。
格式
↵↵- 空一行:新段落
↵- 换行:原样保留
*…*- 强调(斜体)
**…**- 加粗
`…`- 行内代码
```- 单独一行:开始和结束代码块
> …- 引用
- …- 列表
1. …- 编号列表
[…](https://…)- 链接(仅限 http 和 https)
https://…- 裸地址:自动成为链接
CVE-2026-1234- 链接到本站该漏洞页
\*- 按原样显示该字符
标题、图片、表格、嵌套列表和 HTML 都按纯文本显示。
新账号发的链接显示为纯文本;CVE 编号始终可点击。