# CVE-2024-46676: nfc: pn533: Add poll mod list filling check

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

- **Severity:** MEDIUM 5.5
- **CVSS:** 5.5 (v3.1, NVD) `CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H`
- **CVSS metrics:** Attack vector: Local; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: None; 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-26)
- **CWE:** CWE-369
- **Published:** 2024-09-13T05:29:11.598Z
- **Modified:** 2026-06-17T07:55:42.593Z

## Who should check

- Anyone running Linux \>= dfccd0f580445d176acea174175b3e6518cc91f7, \< c5e05237444f32f6cfe5d907603a232c77a08b31; \>= dfccd0f580445d176acea174175b3e6518cc91f7, \< 8ddaea033de051ed61b39f6b69ad54a411172b33; \>= dfccd0f580445d176acea174175b3e6518cc91f7, \< 7535db0624a2dede374c42040808ad9a9101d723; \>= dfccd0f580445d176acea174175b3e6518cc91f7, \< 7ecd3dd4f8eecd3309432156ccfe24768e009ec4; \>= dfccd0f580445d176acea174175b3e6518cc91f7, \< 56ad559cf6d87f250a8d203b555dfc3716afa946; \>= dfccd0f580445d176acea174175b3e6518cc91f7, \< 64513d0e546a1f19e390f7e5eba3872bfcbdacf5; \>= dfccd0f580445d176acea174175b3e6518cc91f7, \< febccb39255f9df35527b88c953b2e0deae50e53
- Anyone running Linux 3.12

## Description

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

nfc: pn533: Add poll mod list filling check

In case of im\_protocols value is 1 and tm\_protocols value is 0 this
combination successfully passes the check
'if (!im\_protocols && !tm\_protocols)' in the nfc\_start\_poll().
But then after pn533\_poll\_create\_mod\_list() call in pn533\_start\_poll()
poll mod list will remain empty and dev-\>poll\_mod\_count will remain 0
which lead to division by zero.

Normally no im protocol has value 1 in the mask, so this combination is
not expected by driver. But these protocol values actually come from
userspace via Netlink interface (NFC\_CMD\_START\_POLL operation). So a
broken or malicious program may pass a message containing a "bad"
combination of protocol parameter values so that dev-\>poll\_mod\_count
is not incremented inside pn533\_poll\_create\_mod\_list(), thus leading
to division by zero.
Call trace looks like:
nfc\_genl\_start\_poll()
  nfc\_start\_poll()
    -\>start\_poll()
    pn533\_start\_poll()

Add poll mod list filling check.

Found by Linux Verification Center (linuxtesting.org) with SVACE.

## Affected and fixed versions

- Linux: \>= dfccd0f580445d176acea174175b3e6518cc91f7, \< c5e05237444f32f6cfe5d907603a232c77a08b31; \>= dfccd0f580445d176acea174175b3e6518cc91f7, \< 8ddaea033de051ed61b39f6b69ad54a411172b33; \>= dfccd0f580445d176acea174175b3e6518cc91f7, \< 7535db0624a2dede374c42040808ad9a9101d723; \>= dfccd0f580445d176acea174175b3e6518cc91f7, \< 7ecd3dd4f8eecd3309432156ccfe24768e009ec4; \>= dfccd0f580445d176acea174175b3e6518cc91f7, \< 56ad559cf6d87f250a8d203b555dfc3716afa946; \>= dfccd0f580445d176acea174175b3e6518cc91f7, \< 64513d0e546a1f19e390f7e5eba3872bfcbdacf5; \>= dfccd0f580445d176acea174175b3e6518cc91f7, \< febccb39255f9df35527b88c953b2e0deae50e53 (cvelist)
- Linux: 3.12 (cvelist)

## Mitigation

- No fix listed yet: follow the vendor advisory.

## Check your systems with an agent

Paste this into a coding agent:

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

Details: https://flawdb.com/CVE-2024-46676.md
Affected: Linux >= dfccd0f580445d176acea174175b3e6518cc91f7, < c5e05237444f32f6cfe5d907603a232c77a08b31; >= dfccd0f580445d176acea174175b3e6518cc91f7, < 8ddaea033de051ed61b39f6b69ad54a411172b33; >= dfccd0f580445d176acea174175b3e6518cc91f7, < 7535db0624a2dede374c42040808ad9a9101d723; >= dfccd0f580445d176acea17…
Fixed in: Linux 8ddaea033de051ed61b39f6b69ad54a411172b33, Linux 7535db0624a2dede374c42040808ad9a9101d723, Linux 7ecd3dd4f8eecd3309432156ccfe24768e009ec4, Linux 56ad559cf6d87f250a8d203b555dfc3716afa946, Linux 64513d0e546a1f19e390f7e5eba3872bfcbdacf5

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-2024-46676 being exploited?

There is no confirmed exploitation: CVE-2024-46676 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-26).

### How serious is CVE-2024-46676?

Medium: CVSS 5.5 (v3.1, scored by NVD). Not remotely exploitable (local or adjacent access needed).

### Which versions are affected by CVE-2024-46676?

Linux \>= dfccd0f580445d176acea174175b3e6518cc91f7, \< c5e05237444f32f6cfe5d907603a232c77a08b31; \>= dfccd0f580445d176acea174175b3e6518cc91f7, \< 8ddaea033de051ed61b39f6b69ad54a411172b33; \>= dfccd0f580445d176acea174175b3e6518cc91f7, \< 7535db0624a2dede374c42040808ad9a9101d723; \>= dfccd0f580445d176acea174175b3e6518cc91f7, \< 7ecd3dd4f8eecd3309432156ccfe24768e009ec4; \>= dfccd0f580445d176acea174175b3e6518cc91f7, \< 56ad559cf6d87f250a8d203b555dfc3716afa946; \>= dfccd0f580445d176acea174175b3e6518cc91f7, \< 64513d0e546a1f19e390f7e5eba3872bfcbdacf5; \>= dfccd0f580445d176acea174175b3e6518cc91f7, \< febccb39255f9df35527b88c953b2e0deae50e53; Linux 3.12.

### Is there a fix for CVE-2024-46676?

Yes. Fixed in Linux 8ddaea033de051ed61b39f6b69ad54a411172b33, Linux 7535db0624a2dede374c42040808ad9a9101d723, Linux 7ecd3dd4f8eecd3309432156ccfe24768e009ec4, Linux 56ad559cf6d87f250a8d203b555dfc3716afa946, Linux 64513d0e546a1f19e390f7e5eba3872bfcbdacf5. No fix listed yet: follow the vendor advisory.

### How do I check if I'm affected by CVE-2024-46676?

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/c5e05237444f32f6cfe5d907603a232c77a08b31>
- patch: <https://git.kernel.org/stable/c/8ddaea033de051ed61b39f6b69ad54a411172b33>
- patch: <https://git.kernel.org/stable/c/7535db0624a2dede374c42040808ad9a9101d723>
- patch: <https://git.kernel.org/stable/c/7ecd3dd4f8eecd3309432156ccfe24768e009ec4>
- patch: <https://git.kernel.org/stable/c/56ad559cf6d87f250a8d203b555dfc3716afa946>
- patch: <https://git.kernel.org/stable/c/64513d0e546a1f19e390f7e5eba3872bfcbdacf5>
- patch: <https://git.kernel.org/stable/c/febccb39255f9df35527b88c953b2e0deae50e53>
- other: <https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html>
- other: <https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html>

## 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-2024-46676>

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