Files
linux/drivers/rtc
Mauricio Faria de Oliveira b47bcab6ee rtc: add data_race() in rtc_dev_poll()
The unlocked read of rtc->irq_data in rtc_dev_poll() can race with
the write in rtc_handle_legacy_irq() and also, theoretically, with
the write in rtc_dev_read().

These races should be safe (see inline comment), thus annotate the
read with data_race() for KCSAN.

Reported-by: syzbot+2d4127acca35ed7b31ad@syzkaller.appspotmail.com
Closes: https://syzbot.org/bug?extid=2d4127acca35ed7b31ad
Signed-off-by: Mauricio Faria de Oliveira <mfo@igalia.com>
Link: https://patch.msgid.link/20260317-irq_data-v1-1-a2741002be60@igalia.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
2026-03-18 22:27:04 +01:00
..
2026-03-18 22:27:04 +01:00
2022-06-24 21:24:02 +02:00
2021-04-29 23:03:26 +02:00
2024-08-28 21:54:51 +01:00
2025-12-08 22:31:12 +01:00
2025-06-02 00:25:32 +02:00
2024-05-07 23:40:10 +02:00
2025-09-16 17:38:20 +02:00
2025-09-16 17:38:20 +02:00
2025-10-05 22:51:06 +02:00
2025-11-03 14:38:38 +01:00
2025-07-22 13:06:19 +02:00