# 摘要
In the Linux kernel, the following vulnerability has been resolved:
riscv: move memblock_allow_resize() after linear mapping is ready
The initial memblock metadata is accessed from kernel image mapping. The
regions arrays need to "reallocated" from memblock and accessed through
linear mapping to cover more memblock regions. So the resizing should
not be allowed until linear mapping is ready. Note that there are
memblock allocations when building linear mapping.
This patch is similar to 24cc61d8cb5a ("arm64: memblock: don't permit
memblock resizing until linear mapping is up").
In following log, many memblock regions are reserved before
create_linear_mapping_page_table(). And then it triggered reallocation
of memblock.reserved.regions and memcpy the old array in kernel image
mapping to the new array in linear mapping which caused a page fault.
[ 0.000000] memblock_reserve: [0x00000000bf01f000 -0x00000000bf01ffff ] early_init_fdt_scan_reserved_mem +0x28c/0x2c6
[ 0.000000] memblock_reserve: [0x00000000bf021000 -0x00000000bf021fff ] early_init_fdt_scan_reserved_mem +0x28c/0x2c6
[ 0.000000] memblock_reserve: [0x00000000bf023000 -0x00000000bf023fff ] early_init_fdt_scan_reserved_mem +0x28c/0x2c6
[ 0.000000] memblock_reserve: [0x00000000bf025000 -0x00000000bf025fff ] early_init_fdt_scan_reserved_mem +0x28c/0x2c6
[ 0.000000] memblock_reserve: [0x00000000bf027000 -0x00000000bf027fff ] early_init_fdt_scan_reserved_mem +0x28c/0x2c6
[ 0.000000] memblock_reserve: [0x00000000bf029000 -0x00000000bf029fff ] early_init_fdt_scan_reserved_mem +0x28c/0x2c6
[ 0.000000] memblock_reserve: [0x00000000bf02b000 -0x00000000bf02bfff ] early_init_fdt_scan_reserved_mem +0x28c/0x2c6
[ 0.000000] memblock_reserve: [0x00000000bf02d000 -0x00000000bf02dfff ] early_init_fdt_scan_reserved_mem +0x28c/0x2c6
[ 0.000000] memblock_reserve: [0x00000000bf02f000 -0x00000000bf02ffff ] early_init_fdt_scan_reserved_mem +0x28c/0x2c6
[ 0.000000] memblock_reserve: [0x00000000bf030000 -0x00000000bf030fff ] early_init_fdt_scan_reserved_mem +0x28c/0x2c6
[ 0.000000] OF: reserved mem: 0x0000000080000000 ..0x000000008007ffff (512 KiB) map non-reusable mmode_resv0@80000000
[ 0.000000] memblock_reserve: [0x00000000bf000000 -0x00000000bf001fed ] paging_init +0x19a/0x5ae
[ 0.000000] memblock_phys_alloc_range: 4096 bytes align=0x1000 from=0x0000000000000000 max_addr=0x0000000000000000 alloc_pmd_fixmap +0x14/0x1c
[ 0.000000] memblock_reserve: [0x000000017ffff000 -0x000000017fffffff ] memblock_alloc_range_nid +0xb8/0x128
[ 0.000000] memblock: reserved is doubled to 256 at [0x000000017fffd000 -0x000000017fffe7ff ]
[ 0.000000] Unable to handle kernel paging request at virtual address ff600000ffffd000
[ 0.000000] Oops [#1]
[ 0.000000] Modules linked in:
[ 0.000000] CPU: 0 PID: 0 Comm: swapper Not tainted 6.4.0-rc1-00011-g99a670b2069c #66
[ 0.000000] Hardware name: riscv-virtio,qemu (DT)
[ 0.000000] epc : __memcpy +0x60/0xf8
[ 0.000000] ra : memblock_double_array +0x192/0x248
[ 0.000000] epc : ffffffff8081d214 ra : ffffffff80a3dfc0 sp : ffffffff81403bd0
[ 0.000000] gp : ffffffff814fbb38 tp : ffffffff8140dac0 t0 : 0000000001600000
[ 0.000000] t1 : 0000000000000000 t2 : 000000008f001000 s0 : ffffffff81403c60
[ 0.000000] s1 : ffffffff80c0bc98 a0 : ff600000ffffd000 a1 : ffffffff80c0bcd8
[ 0.000000] a2 : 0000000000000c00 a3 : ffffffff80c0c8d8 a4 : 0000000080000000
[ 0.000000] a5 : 0000000000080000 a6 : 0000000000000000 a7 : 0000000080200000
[ 0.000000] s2 : ff600000ffffd000 s3 : 0000000000002000 s4 : 0000000000000c00
[ 0.000000] s5 : ffffffff80c0bc60 s6 : ffffffff80c0bcc8 s7 : 0000000000000000
[ 0.000000] s8 : ffffffff814fd0a8 s9 : 000000017fffe7ff s10: 0000000000000000
[ 0.000000] s11: 0000000000001000 t3 : 0000000000001000 t4 : 0000000000000000
[ 0.000000] t5 : 000000008f003000 t6 : ff600000ffffd000
[ 0.000000] status: 0000000200000100 badaddr: ff600000ffffd000 cause: 000000000000000f
[ 0.000000] [<fff
---truncated---
以上是 CVE 记录( cvelist )中的原文,未经改写。
# 事件记录
2025-10-22T13:23Z
+DIS 披露
CVE 记录发布,编号分配方是 Linux。
来源 cvelist · 本站 2026-11-13T05:38Z 批量导入 · 原始记录
{
"id" : 309795,
"type" : "disclosed",
"source" : "cvelist",
"url" : "https://www.cve.org/CVERecord?id=CVE-2023-53699",
"occurred_at" : "2025-10-22T13:23:38.981Z",
"observed_at" : "2026-11-13T05:38:14.046808Z",
"is_backfill" : true,
"dedupe_key" : "",
"detail" : {
"state" : "PUBLISHED",
"date_published" : "2025-10-22T13:23:38.981Z",
"assigner_short_name" : "Linux"
}
}
# 纠错
报告错误或缺失
页面有误或缺失?告诉编辑;采纳后在本页修订记录公开说明,上游数据不会被改动。
提交纠错需要启用 JavaScript。
无法确认登录状态,请刷新页面后再提交纠错。
请先在账号页设置公开用户名:被采纳的纠错会以它署名。
设置用户名
你的账号已被封禁,暂时不能提交纠错。
# 研究员讨论
近 7 天有 0 位研究员提到
研究员在 X 上提到此 CVE 的帖子,原文照录,nday 不核实。
尚未采集到名单内研究员在 X 上提到此 CVE 的帖子。
# 讨论
0 条评论
阅读和发表评论都需要启用 JavaScript。
无法确认你的登录状态,刷新页面后再发表评论。
评论以 @用户名 署名。请先在账号页设置用户名。
前往账号页
你的账号已被封禁,不能发表、回复、编辑或举报评论;仍可删除自己的评论。
用途(可选)
不标注
技术分析
复现反馈
修复反馈
检测方法
提问
发表评论
最多 10,000 个字符
格式
↵↵空一行:新段落
↵换行:原样保留
*…*强调(斜体)
**…**加粗
`…`行内代码
```单独一行:开始和结束代码块
> …引用
- …列表
1. …编号列表
[…](https://…)链接(仅限 http 和 https)
https://…裸地址:自动成为链接
CVE-2026-1234链接到本站该漏洞页
\*按原样显示该字符
标题、图片、表格、嵌套列表和 HTML 都按纯文本显示。
新账号发的链接显示为纯文本;CVE 编号始终可点击。
你的回复
最多 10,000 个字符
回复 取消
用途(可选)
不标注
技术分析
复现反馈
修复反馈
检测方法
提问
编辑你的评论
最多 10,000 个字符
保存 取消
原因
垃圾信息或广告
骚扰或仇恨言论
与本漏洞无关
误导或错误信息
恶意链接
违法内容
其他
给版主的说明(可选,最多 500 个字符)
提交举报 取消
隐藏理由,作者可见(最多 200 个字符)
隐藏评论 取消