{"id":"CVE-2023-53524","aliases":["CVE-2023-53524"],"related":[],"kind":"vulnerability","state":"published","title":"wifi: iwlwifi: pcie: Fix integer overflow in iwl_write_to_user_buf","summary":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: iwlwifi: pcie: Fix integer overflow in iwl_write_to_user_buf\n\nAn integer overflow occurs in the iwl_write_to_user_buf() function,\nwhich is called by the iwl_dbgfs_monitor_data_read() function.\n\nstatic bool iwl_write_to_user_buf(char __user *user_buf, ssize_t count,\n\t\t\t\t  void *buf, ssize_t *size,\n\t\t\t\t  ssize_t *bytes_copied)\n{\n\tint buf_size_left = count - *bytes_copied;\n\n\tbuf_size_left = buf_size_left - (buf_size_left % sizeof(u32));\n\tif (*size > buf_size_left)\n\t\t*size = buf_size_left;\n\nIf the user passes a SIZE_MAX value to the \"ssize_t count\" parameter,\nthe ssize_t count parameter is assigned to \"int buf_size_left\".\nThen compare \"*size\" with \"buf_size_left\" . Here, \"buf_size_left\" is a\nnegative number, so \"*size\" is assigned \"buf_size_left\" and goes into\nthe third argument of the copy_to_user function, causing a heap overflow.\n\nThis is not a security vulnerability because iwl_dbgfs_monitor_data_read()\nis a debugfs operation with 0400 privileges.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In the Linux kernel, the following vulnerability has been resolved:\n\nwifi: iwlwifi: pcie: Fix integer overflow in iwl_write_to_user_buf\n\nAn integer overflow occurs in the iwl_write_to_user_buf() function,\nwhich is called by the iwl_dbgfs_monitor_data_read() function.\n\nstatic bool iwl_write_to_user_buf(char __user *user_buf, ssize_t count,\n\t\t\t\t  void *buf, ssize_t *size,\n\t\t\t\t  ssize_t *bytes_copied)\n{\n\tint buf_size_left = count - *bytes_copied;\n\n\tbuf_size_left = buf_size_left - (buf_size_left % sizeof(u32));\n\tif (*size > buf_size_left)\n\t\t*size = buf_size_left;\n\nIf the user passes a SIZE_MAX value to the \"ssize_t count\" parameter,\nthe ssize_t count parameter is assigned to \"int buf_size_left\".\nThen compare \"*size\" with \"buf_size_left\" . Here, \"buf_size_left\" is a\nnegative number, so \"*size\" is assigned \"buf_size_left\" and goes into\nthe third argument of the copy_to_user function, causing a heap overflow.\n\nThis is not a security vulnerability because iwl_dbgfs_monitor_data_read()\nis a debugfs operation with 0400 privileges.","source":"cvelist"}],"published":"2025-10-01T11:46:10.397Z","modified":"2026-11-05T21:17:24.850Z","severity":{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-190"],"affected":[{"ranges":[{"type":"git","introduced":"f7805b33f9b13a87b1fcf9dfbc3dcbce281a1436","fixed":"0ad8dd870aa187d0c21d032bb2c6433559075eec","status":"affected"},{"type":"git","introduced":"f7805b33f9b13a87b1fcf9dfbc3dcbce281a1436","fixed":"059e426d666a41e26b184c177c1ca3ee2d6fa1b6","status":"affected"},{"type":"git","introduced":"f7805b33f9b13a87b1fcf9dfbc3dcbce281a1436","fixed":"82f877ec9b041edc4c7c509c605cc3393d837bf0","status":"affected"},{"type":"git","introduced":"f7805b33f9b13a87b1fcf9dfbc3dcbce281a1436","fixed":"eb1ef44efac797b384d361a76e33f77027c29a14","status":"affected"},{"type":"git","introduced":"f7805b33f9b13a87b1fcf9dfbc3dcbce281a1436","fixed":"de78456976026102babe66258c228691ca5677c0","status":"affected"},{"type":"git","introduced":"f7805b33f9b13a87b1fcf9dfbc3dcbce281a1436","fixed":"58d1b717879bfeabe09b35e41ad667c79933eb2e","status":"affected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"version":"5.0","status":"affected"},{"type":"semver","introduced":"0","fixed":"5.0","status":"unaffected"},{"type":"semver","introduced":"5.4.244","lastAffected":"5.4.*","status":"unaffected"},{"type":"semver","introduced":"5.10.181","lastAffected":"5.10.*","status":"unaffected"},{"type":"semver","introduced":"5.15.113","lastAffected":"5.15.*","status":"unaffected"},{"type":"semver","introduced":"6.1.30","lastAffected":"6.1.*","status":"unaffected"},{"type":"semver","introduced":"6.3.4","lastAffected":"6.3.*","status":"unaffected"},{"type":"original_commit_for_fix","introduced":"6.4","lastAffected":"*","status":"unaffected"}],"vendor":"Linux","product":"Linux","repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","source":"cvelist"},{"ranges":[{"status":"affected","introduced":"5.0","fixed":"5.4.244"},{"status":"affected","introduced":"5.5","fixed":"5.10.181"},{"status":"affected","introduced":"5.11","fixed":"5.15.113"},{"status":"affected","introduced":"5.16","fixed":"6.1.30"},{"status":"affected","introduced":"6.2","fixed":"6.3.4"}],"vendor":"linux","product":"linux_kernel","cpe":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://git.kernel.org/stable/c/0ad8dd870aa187d0c21d032bb2c6433559075eec","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/059e426d666a41e26b184c177c1ca3ee2d6fa1b6","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/82f877ec9b041edc4c7c509c605cc3393d837bf0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/eb1ef44efac797b384d361a76e33f77027c29a14","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/de78456976026102babe66258c228691ca5677c0","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://git.kernel.org/stable/c/58d1b717879bfeabe09b35e41ad667c79933eb2e","tags":["patch"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"Linux","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-11-05T20:23:14.529Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-53524","url":"https://www.cve.org/CVERecord?id=CVE-2023-53524","licence":"CVE Terms of Use","modified":"2026-11-05T20:31:13.586Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-53524","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-53524","licence":"Public domain","modified":"2026-11-05T21:17:24.850Z"}],"updatedAt":"2026-11-25T22:58:34.923Z","epss":{"score":0.00258,"percentile":0.10694,"date":"2026-11-30T12:00:22.000Z"}}