{"id":"CVE-2024-46676","state":"PUBLISHED","title":"nfc: pn533: Add poll mod list filling check","description":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: pn533: Add poll mod list filling check\n\nIn case of im_protocols value is 1 and tm_protocols value is 0 this\ncombination successfully passes the check\n'if (!im_protocols && !tm_protocols)' in the nfc_start_poll().\nBut then after pn533_poll_create_mod_list() call in pn533_start_poll()\npoll mod list will remain empty and dev->poll_mod_count will remain 0\nwhich lead to division by zero.\n\nNormally no im protocol has value 1 in the mask, so this combination is\nnot expected by driver. But these protocol values actually come from\nuserspace via Netlink interface (NFC_CMD_START_POLL operation). So a\nbroken or malicious program may pass a message containing a \"bad\"\ncombination of protocol parameter values so that dev->poll_mod_count\nis not incremented inside pn533_poll_create_mod_list(), thus leading\nto division by zero.\nCall trace looks like:\nnfc_genl_start_poll()\n  nfc_start_poll()\n    ->start_poll()\n    pn533_start_poll()\n\nAdd poll mod list filling check.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE.","publishedAt":"2024-09-13T05:29:11.598Z","updatedAt":"2026-05-11T20:34:14.809Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"dfccd0f580445d176acea174175b3e6518cc91f7","status":"affected","lessThan":"c5e05237444f32f6cfe5d907603a232c77a08b31","versionType":"git"},{"version":"dfccd0f580445d176acea174175b3e6518cc91f7","status":"affected","lessThan":"8ddaea033de051ed61b39f6b69ad54a411172b33","versionType":"git"},{"version":"dfccd0f580445d176acea174175b3e6518cc91f7","status":"affected","lessThan":"7535db0624a2dede374c42040808ad9a9101d723","versionType":"git"},{"version":"dfccd0f580445d176acea174175b3e6518cc91f7","status":"affected","lessThan":"7ecd3dd4f8eecd3309432156ccfe24768e009ec4","versionType":"git"},{"version":"dfccd0f580445d176acea174175b3e6518cc91f7","status":"affected","lessThan":"56ad559cf6d87f250a8d203b555dfc3716afa946","versionType":"git"},{"version":"dfccd0f580445d176acea174175b3e6518cc91f7","status":"affected","lessThan":"64513d0e546a1f19e390f7e5eba3872bfcbdacf5","versionType":"git"},{"version":"dfccd0f580445d176acea174175b3e6518cc91f7","status":"affected","lessThan":"febccb39255f9df35527b88c953b2e0deae50e53","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nfc/pn533/pn533.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.12","versionType":"semver"},{"version":"5.4.283","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.225","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.166","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.108","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.49","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.10.8","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nfc/pn533/pn533.c"]}],"references":["https://git.kernel.org/stable/c/c5e05237444f32f6cfe5d907603a232c77a08b31","https://git.kernel.org/stable/c/8ddaea033de051ed61b39f6b69ad54a411172b33","https://git.kernel.org/stable/c/7535db0624a2dede374c42040808ad9a9101d723","https://git.kernel.org/stable/c/7ecd3dd4f8eecd3309432156ccfe24768e009ec4","https://git.kernel.org/stable/c/56ad559cf6d87f250a8d203b555dfc3716afa946","https://git.kernel.org/stable/c/64513d0e546a1f19e390f7e5eba3872bfcbdacf5","https://git.kernel.org/stable/c/febccb39255f9df35527b88c953b2e0deae50e53","https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html","https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html"],"weaknesses":[],"ingestedAt":"2026-10-29T20:07:47.831Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/46xxx/CVE-2024-46676.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-46676","state":"PUBLISHED","datePublished":"2024-09-13T05:29:11.598Z","dateUpdated":"2026-05-11T20:34:14.809Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-09-11T15:12:18.247Z"},"containers":{"cna":{"title":"nfc: pn533: Add poll mod list filling check","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\nnfc: pn533: Add poll mod list filling check\n\nIn case of im_protocols value is 1 and tm_protocols value is 0 this\ncombination successfully passes the check\n'if (!im_protocols && !tm_protocols)' in the nfc_start_poll().\nBut then after pn533_poll_create_mod_list() call in pn533_start_poll()\npoll mod list will remain empty and dev->poll_mod_count will remain 0\nwhich lead to division by zero.\n\nNormally no im protocol has value 1 in the mask, so this combination is\nnot expected by driver. But these protocol values actually come from\nuserspace via Netlink interface (NFC_CMD_START_POLL operation). So a\nbroken or malicious program may pass a message containing a \"bad\"\ncombination of protocol parameter values so that dev->poll_mod_count\nis not incremented inside pn533_poll_create_mod_list(), thus leading\nto division by zero.\nCall trace looks like:\nnfc_genl_start_poll()\n  nfc_start_poll()\n    ->start_poll()\n    pn533_start_poll()\n\nAdd poll mod list filling check.\n\nFound by Linux Verification Center (linuxtesting.org) with SVACE."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"dfccd0f580445d176acea174175b3e6518cc91f7","status":"affected","lessThan":"c5e05237444f32f6cfe5d907603a232c77a08b31","versionType":"git"},{"version":"dfccd0f580445d176acea174175b3e6518cc91f7","status":"affected","lessThan":"8ddaea033de051ed61b39f6b69ad54a411172b33","versionType":"git"},{"version":"dfccd0f580445d176acea174175b3e6518cc91f7","status":"affected","lessThan":"7535db0624a2dede374c42040808ad9a9101d723","versionType":"git"},{"version":"dfccd0f580445d176acea174175b3e6518cc91f7","status":"affected","lessThan":"7ecd3dd4f8eecd3309432156ccfe24768e009ec4","versionType":"git"},{"version":"dfccd0f580445d176acea174175b3e6518cc91f7","status":"affected","lessThan":"56ad559cf6d87f250a8d203b555dfc3716afa946","versionType":"git"},{"version":"dfccd0f580445d176acea174175b3e6518cc91f7","status":"affected","lessThan":"64513d0e546a1f19e390f7e5eba3872bfcbdacf5","versionType":"git"},{"version":"dfccd0f580445d176acea174175b3e6518cc91f7","status":"affected","lessThan":"febccb39255f9df35527b88c953b2e0deae50e53","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nfc/pn533/pn533.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"3.12","status":"affected"},{"version":"0","status":"unaffected","lessThan":"3.12","versionType":"semver"},{"version":"5.4.283","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.225","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.166","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.108","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.49","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.10.8","status":"unaffected","lessThanOrEqual":"6.10.*","versionType":"semver"},{"version":"6.11","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/nfc/pn533/pn533.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/c5e05237444f32f6cfe5d907603a232c77a08b31"},{"url":"https://git.kernel.org/stable/c/8ddaea033de051ed61b39f6b69ad54a411172b33"},{"url":"https://git.kernel.org/stable/c/7535db0624a2dede374c42040808ad9a9101d723"},{"url":"https://git.kernel.org/stable/c/7ecd3dd4f8eecd3309432156ccfe24768e009ec4"},{"url":"https://git.kernel.org/stable/c/56ad559cf6d87f250a8d203b555dfc3716afa946"},{"url":"https://git.kernel.org/stable/c/64513d0e546a1f19e390f7e5eba3872bfcbdacf5"},{"url":"https://git.kernel.org/stable/c/febccb39255f9df35527b88c953b2e0deae50e53"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:34:14.809Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"5.4.283"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"5.10.225"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"5.15.166"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"6.1.108"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"6.6.49"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"6.10.8"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"3.12","versionEndExcluding":"6.11"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-09-29T15:44:14.123605Z","id":"CVE-2024-46676","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-09-29T15:44:28.585Z"}},{"title":"CVE Program Container","references":[{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00001.html"},{"url":"https://lists.debian.org/debian-lts-announce/2024/10/msg00003.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T22:16:14.033Z"}}]}}}