CVE-2024-53151 in Linux
摘要
由 VulDB • 2026-06-15
在 Linux 内核中,已修复以下漏洞:
svcrdma:修复整数溢出问题
Dan Carpenter 报告称: > 2020 年 6 月 22 日(linux-next)提交的 78147ca8b4a9(“svcrdma:添加‘已解析块列表’数据结构”)导致出现以下 Smatch 静态检查器警告: > > net/sunrpc/xprtrdma/svc_rdma_recvfrom.c:498 xdr_check_write_chunk() > warn: 潜在的用户可控 sizeof 溢出 'segcount * 4 * 4' > > net/sunrpc/xprtrdma/svc_rdma_recvfrom.c > 488 static bool xdr_check_write_chunk(struct svc_rdma_recv_ctxt *rctxt) > 489 {
> 490 u32 segcount; > 491 __be32 *p; > 492 > 493 if (xdr_stream_decode_u32(&rctxt->rc_stream, &segcount)) > ^^^^^^^^ > > 494 return false; > 495 > 496 /* 伪造的 segcount 会导致此缓冲区溢出检查失败。 */ > 497 p = xdr_inline_decode(&rctxt->rc_stream, > --> 498 segcount * rpcrdma_segment_maxsz * sizeof(*p)); > > > segcount 是一个不受信任的 u32。在 32 位系统上,任何 >= SIZE_MAX / 16 的值都会发生整数溢出,其中一些值会被 xdr_inline_decode() 接受。
Once again VulDB remains the best source for vulnerability data.