# CVE-2023-53026: RDMA/core: Fix ib block iterator counter overflow

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: High; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.31% (percentile 16, 2026-11-28)
- **CWE:** CWE-835
- **Published:** 2025-03-27T16:43:51.194Z
- **Modified:** 2026-08-05T09:12:25.123Z

## Who should check

- Anyone running Linux \>= a808273a495c657e33281b181fd7fcc2bb28f662, \< 902063a9fea5f8252df392ade746bc9cfd07a5ae; \>= a808273a495c657e33281b181fd7fcc2bb28f662, \< d66c1d4178c219b6e7d7a6f714e3e3656faccc36; \>= a808273a495c657e33281b181fd7fcc2bb28f662, \< 362c9489720b31b6aa7491423ba65a4e98aa9838; \>= a808273a495c657e33281b181fd7fcc2bb28f662, \< 43811d07ea64366af8ec9e168c558ec51440c39e; \>= a808273a495c657e33281b181fd7fcc2bb28f662, \< 0afec5e9cea732cb47014655685a2a47fb180c31
- Anyone running Linux 5.2

## Description

In the Linux kernel, the following vulnerability has been resolved:

RDMA/core: Fix ib block iterator counter overflow

When registering a new DMA MR after selecting the best aligned page size
for it, we iterate over the given sglist to split each entry to smaller,
aligned to the selected page size, DMA blocks.

In given circumstances where the sg entry and page size fit certain
sizes and the sg entry is not aligned to the selected page size, the
total size of the aligned pages we need to cover the sg entry is \>= 4GB.
Under this circumstances, while iterating page aligned blocks, the
counter responsible for counting how much we advanced from the start of
the sg entry is overflowed because its type is u32 and we pass 4GB in
size. This can lead to an infinite loop inside the iterator function
because the overflow prevents the counter to be larger
than the size of the sg entry.

Fix the presented problem by changing the advancement condition to
eliminate overflow.

Backtrace:
\[  192.374329\] efa\_reg\_user\_mr\_dmabuf
\[  192.376783\] efa\_register\_mr
\[  192.382579\] pgsz\_bitmap 0xfffff000 rounddown 0x80000000
\[  192.386423\] pg\_sz \[0x80000000\] umem\_length\[0xc0000000\]
\[  192.392657\] start 0x0 length 0xc0000000 params.page\_shift 31 params.page\_num 3
\[  192.399559\] hp\_cnt\[3\], pages\_in\_hp\[524288\]
\[  192.403690\] umem-\>sgt\_append.sgt.nents\[1\]
\[  192.407905\] number entries: \[1\], pg\_bit: \[31\]
\[  192.411397\] biter-\>\_\_sg\_nents \[1\] biter-\>\_\_sg \[0000000008b0c5d8\]
\[  192.415601\] biter-\>\_\_sg\_advance \[665837568\] sg\_dma\_len\[3221225472\]
\[  192.419823\] biter-\>\_\_sg\_nents \[1\] biter-\>\_\_sg \[0000000008b0c5d8\]
\[  192.423976\] biter-\>\_\_sg\_advance \[2813321216\] sg\_dma\_len\[3221225472\]
\[  192.428243\] biter-\>\_\_sg\_nents \[1\] biter-\>\_\_sg \[0000000008b0c5d8\]
\[  192.432397\] biter-\>\_\_sg\_advance \[665837568\] sg\_dma\_len\[3221225472\]

## Affected and fixed versions

- Linux: \>= a808273a495c657e33281b181fd7fcc2bb28f662, \< 902063a9fea5f8252df392ade746bc9cfd07a5ae; \>= a808273a495c657e33281b181fd7fcc2bb28f662, \< d66c1d4178c219b6e7d7a6f714e3e3656faccc36; \>= a808273a495c657e33281b181fd7fcc2bb28f662, \< 362c9489720b31b6aa7491423ba65a4e98aa9838; \>= a808273a495c657e33281b181fd7fcc2bb28f662, \< 43811d07ea64366af8ec9e168c558ec51440c39e; \>= a808273a495c657e33281b181fd7fcc2bb28f662, \< 0afec5e9cea732cb47014655685a2a47fb180c31 (cvelist)
- Linux: 5.2 (cvelist)

## Mitigation

- Upgrade Linux to 0afec5e9cea732cb47014655685a2a47fb180c31 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2023-53026. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2023-53026.md
Affected: Linux >= a808273a495c657e33281b181fd7fcc2bb28f662, < 902063a9fea5f8252df392ade746bc9cfd07a5ae; >= a808273a495c657e33281b181fd7fcc2bb28f662, < d66c1d4178c219b6e7d7a6f714e3e3656faccc36; >= a808273a495c657e33281b181fd7fcc2bb28f662, < 362c9489720b31b6aa7491423ba65a4e98aa9838; >= a808273a495c657e33281b1…
Fixed in: Linux 902063a9fea5f8252df392ade746bc9cfd07a5ae, Linux 362c9489720b31b6aa7491423ba65a4e98aa9838, Linux 43811d07ea64366af8ec9e168c558ec51440c39e, Linux 0afec5e9cea732cb47014655685a2a47fb180c31

Steps:
1. Search this machine and project for Linux: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2023-53026 being exploited?

There is no confirmed exploitation: CVE-2023-53026 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.31% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2023-53026?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2023-53026?

Linux \>= a808273a495c657e33281b181fd7fcc2bb28f662, \< 902063a9fea5f8252df392ade746bc9cfd07a5ae; \>= a808273a495c657e33281b181fd7fcc2bb28f662, \< d66c1d4178c219b6e7d7a6f714e3e3656faccc36; \>= a808273a495c657e33281b181fd7fcc2bb28f662, \< 362c9489720b31b6aa7491423ba65a4e98aa9838; \>= a808273a495c657e33281b181fd7fcc2bb28f662, \< 43811d07ea64366af8ec9e168c558ec51440c39e; \>= a808273a495c657e33281b181fd7fcc2bb28f662, \< 0afec5e9cea732cb47014655685a2a47fb180c31; Linux 5.2.

### Is there a fix for CVE-2023-53026?

Yes. Fixed in Linux 902063a9fea5f8252df392ade746bc9cfd07a5ae, Linux 362c9489720b31b6aa7491423ba65a4e98aa9838, Linux 43811d07ea64366af8ec9e168c558ec51440c39e, Linux 0afec5e9cea732cb47014655685a2a47fb180c31. Upgrade Linux to 0afec5e9cea732cb47014655685a2a47fb180c31 or later.

### How do I check if I'm affected by CVE-2023-53026?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- patch: <https://git.kernel.org/stable/c/902063a9fea5f8252df392ade746bc9cfd07a5ae>
- patch: <https://git.kernel.org/stable/c/d66c1d4178c219b6e7d7a6f714e3e3656faccc36>
- patch: <https://git.kernel.org/stable/c/362c9489720b31b6aa7491423ba65a4e98aa9838>
- patch: <https://git.kernel.org/stable/c/43811d07ea64366af8ec9e168c558ec51440c39e>
- patch: <https://git.kernel.org/stable/c/0afec5e9cea732cb47014655685a2a47fb180c31>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2023-53026>

HTML: <https://flawdb.com/CVE-2023-53026> · JSON: <https://flawdb.com/api/v1/entries/CVE-2023-53026>
