{"id":"CVE-2022-49659","state":"PUBLISHED","title":"can: m_can: m_can_{read_fifo,echo_tx_event}(): shift timestamp to full 32 bits","description":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: m_can: m_can_{read_fifo,echo_tx_event}(): shift timestamp to full 32 bits\n\nIn commit 1be37d3b0414 (\"can: m_can: fix periph RX path: use\nrx-offload to ensure skbs are sent from softirq context\") the RX path\nfor peripheral devices was switched to RX-offload.\n\nReceived CAN frames are pushed to RX-offload together with a\ntimestamp. RX-offload is designed to handle overflows of the timestamp\ncorrectly, if 32 bit timestamps are provided.\n\nThe timestamps of m_can core are only 16 bits wide. So this patch\nshifts them to full 32 bit before passing them to RX-offload.","publishedAt":"2025-02-26T02:23:57.411Z","updatedAt":"2026-05-11T19:04:13.638Z","severity":null,"assigner":"Linux","products":["Linux Linux"],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1be37d3b0414e3db47f6fcba6c16286bbae0cb65","status":"affected","lessThan":"c7333f79888497bfd75dcd02a94eaf836dd1042c","versionType":"git"},{"version":"1be37d3b0414e3db47f6fcba6c16286bbae0cb65","status":"affected","lessThan":"2a2914a5bd7f38efe55a8372178146de82e0bce9","versionType":"git"},{"version":"1be37d3b0414e3db47f6fcba6c16286bbae0cb65","status":"affected","lessThan":"4c3333693f07313f5f0145a922f14a7d3c0f4f21","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/can/m_can/m_can.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.13","versionType":"semver"},{"version":"5.15.54","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.18.11","status":"unaffected","lessThanOrEqual":"5.18.*","versionType":"semver"},{"version":"5.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/can/m_can/m_can.c"]}],"references":["https://git.kernel.org/stable/c/c7333f79888497bfd75dcd02a94eaf836dd1042c","https://git.kernel.org/stable/c/2a2914a5bd7f38efe55a8372178146de82e0bce9","https://git.kernel.org/stable/c/4c3333693f07313f5f0145a922f14a7d3c0f4f21"],"weaknesses":[],"ingestedAt":"2026-10-29T20:05:26.763Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/49xxx/CVE-2022-49659.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-49659","state":"PUBLISHED","datePublished":"2025-02-26T02:23:57.411Z","dateUpdated":"2026-05-11T19:04:13.638Z","assignerShortName":"Linux","assignerOrgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateReserved":"2025-02-26T02:21:30.434Z"},"containers":{"cna":{"title":"can: m_can: m_can_{read_fifo,echo_tx_event}(): shift timestamp to full 32 bits","descriptions":[{"lang":"en","value":"In the Linux kernel, the following vulnerability has been resolved:\n\ncan: m_can: m_can_{read_fifo,echo_tx_event}(): shift timestamp to full 32 bits\n\nIn commit 1be37d3b0414 (\"can: m_can: fix periph RX path: use\nrx-offload to ensure skbs are sent from softirq context\") the RX path\nfor peripheral devices was switched to RX-offload.\n\nReceived CAN frames are pushed to RX-offload together with a\ntimestamp. RX-offload is designed to handle overflows of the timestamp\ncorrectly, if 32 bit timestamps are provided.\n\nThe timestamps of m_can core are only 16 bits wide. So this patch\nshifts them to full 32 bit before passing them to RX-offload."}],"affected":[{"vendor":"Linux","product":"Linux","defaultStatus":"unaffected","versions":[{"version":"1be37d3b0414e3db47f6fcba6c16286bbae0cb65","status":"affected","lessThan":"c7333f79888497bfd75dcd02a94eaf836dd1042c","versionType":"git"},{"version":"1be37d3b0414e3db47f6fcba6c16286bbae0cb65","status":"affected","lessThan":"2a2914a5bd7f38efe55a8372178146de82e0bce9","versionType":"git"},{"version":"1be37d3b0414e3db47f6fcba6c16286bbae0cb65","status":"affected","lessThan":"4c3333693f07313f5f0145a922f14a7d3c0f4f21","versionType":"git"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/can/m_can/m_can.c"]},{"vendor":"Linux","product":"Linux","defaultStatus":"affected","versions":[{"version":"5.13","status":"affected"},{"version":"0","status":"unaffected","lessThan":"5.13","versionType":"semver"},{"version":"5.15.54","status":"unaffected","lessThanOrEqual":"5.15.*","versionType":"semver"},{"version":"5.18.11","status":"unaffected","lessThanOrEqual":"5.18.*","versionType":"semver"},{"version":"5.19","status":"unaffected","lessThanOrEqual":"*","versionType":"original_commit_for_fix"}],"repo":"https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git","programFiles":["drivers/net/can/m_can/m_can.c"]}],"references":[{"url":"https://git.kernel.org/stable/c/c7333f79888497bfd75dcd02a94eaf836dd1042c"},{"url":"https://git.kernel.org/stable/c/2a2914a5bd7f38efe55a8372178146de82e0bce9"},{"url":"https://git.kernel.org/stable/c/4c3333693f07313f5f0145a922f14a7d3c0f4f21"}],"providerMetadata":{"shortName":"Linux","orgId":"416baaa9-dc9f-4396-8d5f-8c081fb06d67","dateUpdated":"2026-05-11T19:04:13.638Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"5.15.54"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"5.18.11"},{"vulnerable":true,"criteria":"cpe:2.3:o:linux:linux_kernel:*:*:*:*:*:*:*:*","versionStartIncluding":"5.13","versionEndExcluding":"5.19"}]}]}],"x_generator":{"engine":"bippy-1.2.0"}}}}}