{"id":"CVE-2024-26702","state":"PUBLISHED","title":"iio: magnetometer: rm3100: add boundary check for the value read from RM3100_REG_TMRC","description":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: magnetometer: rm3100: add boundary check for the value read from RM3100_REG_TMRC\n\nRecently, we encounter kernel crash in function rm3100_common_probe\ncaused by out of bound access of array rm3100_samp_rates (because of\nunderlying hardware failures). Add boundary check to prevent out of\nbound access.","publishedAt":"2024-04-03T14:55:01.025Z","updatedAt":"2026-05-11T20:02:31.831Z","severity":{"score":5.5,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","source":"CISA-ADP"},"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"121354b2eceb2669ebdffa76b105ad6c03413966","status":"affected","lessThan":"7200170e88e3ec54d9e9c63f07514c3cead11481","versionType":"git"},{"version":"121354b2eceb2669ebdffa76b105ad6c03413966","status":"affected","lessThan":"36a49290d7e6d554020057a409747a092b1d3b56","versionType":"git"},{"version":"121354b2eceb2669ebdffa76b105ad6c03413966","status":"affected","lessThan":"8d5838a473e8e6d812257c69745f5920e4924a60","versionType":"git"},{"version":"121354b2eceb2669ebdffa76b105ad6c03413966","status":"affected","lessThan":"176256ff8abff29335ecff905a09fb49e8dcf513","versionType":"git"},{"version":"121354b2eceb2669ebdffa76b105ad6c03413966","status":"affected","lessThan":"1d8c67e94e9e977603473a543d4f322cf2c4aa01","versionType":"git"},{"version":"121354b2eceb2669ebdffa76b105ad6c03413966","status":"affected","lessThan":"57d05dbbcd0b3dc0c252103b43012eef5d6430d1","versionType":"git"},{"version":"121354b2eceb2669ebdffa76b105ad6c03413966","status":"affected","lessThan":"792595bab4925aa06532a14dd256db523eb4fa5e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iio/magnetometer/rm3100-core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.0","versionType":"semver"},{"version":"5.4.269","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.210","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.149","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.79","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.18","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7.6","status":"unaffected","lessThanOrEqual":"6.7.*","versionType":"semver"},{"version":"6.8","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iio/magnetometer/rm3100-core.c"]}],"references":["https://git.kernel.org/stable/c/7200170e88e3ec54d9e9c63f07514c3cead11481","https://git.kernel.org/stable/c/36a49290d7e6d554020057a409747a092b1d3b56","https://git.kernel.org/stable/c/8d5838a473e8e6d812257c69745f5920e4924a60","https://git.kernel.org/stable/c/176256ff8abff29335ecff905a09fb49e8dcf513","https://git.kernel.org/stable/c/1d8c67e94e9e977603473a543d4f322cf2c4aa01","https://git.kernel.org/stable/c/57d05dbbcd0b3dc0c252103b43012eef5d6430d1","https://git.kernel.org/stable/c/792595bab4925aa06532a14dd256db523eb4fa5e","https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html"],"weaknesses":["CWE-125"],"ingestedAt":"2026-10-29T20:07:10.607Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/26xxx/CVE-2024-26702.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-26702","state":"PUBLISHED","datePublished":"2024-04-03T14:55:01.025Z","dateUpdated":"2026-05-11T20:02:31.831Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2024-02-19T14:20:24.157Z"},"containers":{"cna":{"title":"iio: magnetometer: rm3100: add boundary check for the value read from RM3100_REG_TMRC","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\niio: magnetometer: rm3100: add boundary check for the value read from RM3100_REG_TMRC\n\nRecently, we encounter kernel crash in function rm3100_common_probe\ncaused by out of bound access of array rm3100_samp_rates (because of\nunderlying hardware failures). Add boundary check to prevent out of\nbound access."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"121354b2eceb2669ebdffa76b105ad6c03413966","status":"affected","lessThan":"7200170e88e3ec54d9e9c63f07514c3cead11481","versionType":"git"},{"version":"121354b2eceb2669ebdffa76b105ad6c03413966","status":"affected","lessThan":"36a49290d7e6d554020057a409747a092b1d3b56","versionType":"git"},{"version":"121354b2eceb2669ebdffa76b105ad6c03413966","status":"affected","lessThan":"8d5838a473e8e6d812257c69745f5920e4924a60","versionType":"git"},{"version":"121354b2eceb2669ebdffa76b105ad6c03413966","status":"affected","lessThan":"176256ff8abff29335ecff905a09fb49e8dcf513","versionType":"git"},{"version":"121354b2eceb2669ebdffa76b105ad6c03413966","status":"affected","lessThan":"1d8c67e94e9e977603473a543d4f322cf2c4aa01","versionType":"git"},{"version":"121354b2eceb2669ebdffa76b105ad6c03413966","status":"affected","lessThan":"57d05dbbcd0b3dc0c252103b43012eef5d6430d1","versionType":"git"},{"version":"121354b2eceb2669ebdffa76b105ad6c03413966","status":"affected","lessThan":"792595bab4925aa06532a14dd256db523eb4fa5e","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iio/magnetometer/rm3100-core.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.0","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.0","versionType":"semver"},{"version":"5.4.269","status":"unaffected","lessThanOrEqual":"5.4.*","versionType":"semver"},{"version":"5.10.210","status":"unaffected","lessThanOrEqual":"5.10.*","versionType":"semver"},{"version":"5.15.149","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"6.1.79","status":"unaffected","lessThanOrEqual":"6.1.*","versionType":"semver"},{"version":"6.6.18","status":"unaffected","lessThanOrEqual":"6.6.*","versionType":"semver"},{"version":"6.7.6","status":"unaffected","lessThanOrEqual":"6.7.*","versionType":"semver"},{"version":"6.8","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/iio/magnetometer/rm3100-core.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/7200170e88e3ec54d9e9c63f07514c3cead11481"},{"url":"https://git.kernel.org/stable/c/36a49290d7e6d554020057a409747a092b1d3b56"},{"url":"https://git.kernel.org/stable/c/8d5838a473e8e6d812257c69745f5920e4924a60"},{"url":"https://git.kernel.org/stable/c/176256ff8abff29335ecff905a09fb49e8dcf513"},{"url":"https://git.kernel.org/stable/c/1d8c67e94e9e977603473a543d4f322cf2c4aa01"},{"url":"https://git.kernel.org/stable/c/57d05dbbcd0b3dc0c252103b43012eef5d6430d1"},{"url":"https://git.kernel.org/stable/c/792595bab4925aa06532a14dd256db523eb4fa5e"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T20:02:31.831Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"5.4.269"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"5.10.210"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"5.15.149"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"6.1.79"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"6.6.18"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"6.7.6"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.0","versionEndExcluding":"6.8"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"cvssV3_1":{"scope":"UNCHANGED","version":"3.1","baseScore":5.5,"attackVector":"LOCAL","baseSeverity":"MEDIUM","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:H","integrityImpact":"NONE","userInteraction":"NONE","attackComplexity":"LOW","availabilityImpact":"HIGH","privilegesRequired":"LOW","confidentialityImpact":"NONE"}},{"other":{"type":"ssvc","content":{"timestamp":"2024-04-04T15:20:17.184977Z","id":"CVE-2024-26702","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-125","type":"CWE","lang":"en","description":"CWE-125 Out-of-bounds Read"}]}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-11-05T15:06:19.230Z"}},{"title":"CVE Program Container","references":[{"url":"https://git.kernel.org/stable/c/7200170e88e3ec54d9e9c63f07514c3cead11481","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/36a49290d7e6d554020057a409747a092b1d3b56","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/8d5838a473e8e6d812257c69745f5920e4924a60","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/176256ff8abff29335ecff905a09fb49e8dcf513","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/1d8c67e94e9e977603473a543d4f322cf2c4aa01","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/57d05dbbcd0b3dc0c252103b43012eef5d6430d1","tags":["x_transferred"]},{"url":"https://git.kernel.org/stable/c/792595bab4925aa06532a14dd256db523eb4fa5e","tags":["x_transferred"]},{"url":"https://lists.debian.org/debian-lts-announce/2024/06/msg00017.html","tags":["x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T00:14:12.653Z"}}]}}}