bisecting fixing commit since 46cf053efec6a3a5f343fead837777efe8252a46 building syzkaller on be5c2c81971442d623dd1b265dabf4644ceeb35b testing commit 46cf053efec6a3a5f343fead837777efe8252a46 with gcc (GCC) 8.1.0 kernel signature: b0c14bf322a0eac1569b9bdf691d04b4a5f776e1cb3cbace470c565dd9430b34 all runs: crashed: KASAN: global-out-of-bounds Read in precalculate_color testing current HEAD 00e4db51259a5f936fec1424b884f029479d3981 testing commit 00e4db51259a5f936fec1424b884f029479d3981 with gcc (GCC) 8.1.0 kernel signature: fe1e08073db8eee4e1bb31a40b4b807db963a4e4b937b50b83427218735e358c all runs: OK # git bisect start 00e4db51259a5f936fec1424b884f029479d3981 46cf053efec6a3a5f343fead837777efe8252a46 Bisecting: 29860 revisions left to test after this (roughly 15 steps) [e2ce1059b0b3d032aa07cc51c24d28ec498feb5f] perf metricgroup: Remove unnecessary ',' from events testing commit e2ce1059b0b3d032aa07cc51c24d28ec498feb5f with gcc (GCC) 8.1.0 kernel signature: d58ada4903a02c70afeb45ab73e59172403158aa6fcc597440c9e1093ec6bba9 all runs: crashed: KASAN: global-out-of-bounds Read in precalculate_color # git bisect good e2ce1059b0b3d032aa07cc51c24d28ec498feb5f Bisecting: 14925 revisions left to test after this (roughly 14 steps) [3df83e164f1f39c614a3f31e39164756945ae2ea] Merge tag 'scsi-misc' of git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi testing commit 3df83e164f1f39c614a3f31e39164756945ae2ea with gcc (GCC) 8.1.0 kernel signature: b1346a27f4b451cb747a966171bfbf040266d217234dbf7c71c3aab613a4d8bc all runs: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks # git bisect skip 3df83e164f1f39c614a3f31e39164756945ae2ea Bisecting: 14925 revisions left to test after this (roughly 14 steps) [de0c4eb44c39cbb2b3b11bac699b618b0f8d4142] MIPS: TXx9: Fix Kconfig warnings testing commit de0c4eb44c39cbb2b3b11bac699b618b0f8d4142 with gcc (GCC) 8.1.0 kernel signature: d44d046588d5e1773c26969e2937c1f5312519deac1ba982ecb2906bdf30a56f all runs: crashed: KASAN: global-out-of-bounds Read in precalculate_color # git bisect good de0c4eb44c39cbb2b3b11bac699b618b0f8d4142 Bisecting: 14925 revisions left to test after this (roughly 14 steps) [68e55f61c13842baf825958129698c5371db432c] kgdboc: Use a platform device to handle tty drivers showing up late testing commit 68e55f61c13842baf825958129698c5371db432c with gcc (GCC) 8.1.0 kernel signature: 77982a34eec5e97d7fe7cbc10af5fd80a3cb3d14d1dd652045878b863bd64c5c all runs: crashed: KASAN: global-out-of-bounds Read in precalculate_color # git bisect good 68e55f61c13842baf825958129698c5371db432c Bisecting: 14925 revisions left to test after this (roughly 14 steps) [bf584e4dbd5bac7b1aaddbd33a7116364f919819] Merge tag 'tags/linear-ranges-lib' into psy-next testing commit bf584e4dbd5bac7b1aaddbd33a7116364f919819 with gcc (GCC) 8.1.0 kernel signature: 2dda5c7e5fa20493747fa4b785ec05b7e8eb5c7f9c3320d54f76546207f6747f all runs: crashed: KASAN: global-out-of-bounds Read in precalculate_color # git bisect good bf584e4dbd5bac7b1aaddbd33a7116364f919819 Bisecting: 14906 revisions left to test after this (roughly 14 steps) [f82e7b57b5fc48199e2f26ffafe2f96f7338ad3d] Merge tag '5.8-rc-smb3-fixes-part2' of git://git.samba.org/sfrench/cifs-2.6 testing commit f82e7b57b5fc48199e2f26ffafe2f96f7338ad3d with gcc (GCC) 8.1.0 kernel signature: 877a10fbd858586e688965b008797a67499058694c7abc1915f91c6ae0bfbc5a all runs: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks # git bisect skip f82e7b57b5fc48199e2f26ffafe2f96f7338ad3d Bisecting: 14906 revisions left to test after this (roughly 14 steps) [f1cc6acf22dd7b2a3548fa5dd9537b90a44668b5] drm/i915/selftests: Add context batchbuffers registers to live_lrc_fixed testing commit f1cc6acf22dd7b2a3548fa5dd9537b90a44668b5 with gcc (GCC) 8.1.0 kernel signature: f52d00bfc75b9f4d90e92c805b790c0413b7fb2702cac5abb28e682d3510fe72 all runs: crashed: KASAN: global-out-of-bounds Read in precalculate_color # git bisect good f1cc6acf22dd7b2a3548fa5dd9537b90a44668b5 Bisecting: 14765 revisions left to test after this (roughly 14 steps) [066d7f32cc7c9ade76f0d7d5fa4af4015a32acea] platform/x86: thinkpad_acpi: Make some symbols static testing commit 066d7f32cc7c9ade76f0d7d5fa4af4015a32acea with gcc (GCC) 8.1.0 kernel signature: 1cabc898a2ee3f27c237449b7c3d1a0b28e02b51ec7ddcb641fa7b19b8b01eed run #0: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #1: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #2: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in corrupted run #3: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #4: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #5: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #6: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #7: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #8: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #9: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks # git bisect skip 066d7f32cc7c9ade76f0d7d5fa4af4015a32acea Bisecting: 14765 revisions left to test after this (roughly 14 steps) [a345021553f7e6343b05b1ad1c25ed931140b47c] ext4: mballoc: refactor code inside DOUBLE_CHECK into separate function testing commit a345021553f7e6343b05b1ad1c25ed931140b47c with gcc (GCC) 8.1.0 kernel signature: e11a40206cae7577632666435d4f63b0b8cfb3dab91b66958c891a03a296fdbd all runs: crashed: KASAN: global-out-of-bounds Read in precalculate_color # git bisect good a345021553f7e6343b05b1ad1c25ed931140b47c Bisecting: 14751 revisions left to test after this (roughly 14 steps) [0b93a57a6a144d2152dbb1042143c1b9833eed9c] pinctrl: devicetree: Add one new attribute description and rename another two testing commit 0b93a57a6a144d2152dbb1042143c1b9833eed9c with gcc (GCC) 8.1.0 kernel signature: 3432837ddcf02881cdaf447a0d59fa6ad525a2be005ed4ef01c950e78fec5ba1 all runs: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks # git bisect skip 0b93a57a6a144d2152dbb1042143c1b9833eed9c Bisecting: 14751 revisions left to test after this (roughly 14 steps) [7daac5b2fdf88e3c3e84cf0d577f524beb0244ab] lib/vsprintf: Print time64_t in human readable format testing commit 7daac5b2fdf88e3c3e84cf0d577f524beb0244ab with gcc (GCC) 8.1.0 kernel signature: 762214bad1286c555a5c4271d9e90e72ae921bad19d69445f308d6bda506f345 all runs: crashed: KASAN: global-out-of-bounds Read in precalculate_color # git bisect good 7daac5b2fdf88e3c3e84cf0d577f524beb0244ab Bisecting: 14751 revisions left to test after this (roughly 14 steps) [8ab705b5408369a59c92e8bc24ffc9432fa2e3f6] perf evlist: Introduce control file descriptors testing commit 8ab705b5408369a59c92e8bc24ffc9432fa2e3f6 with gcc (GCC) 8.1.0 kernel signature: ec469f7de68fa740a37c7786da127ba489f01107adc99792e56bc9964559758d all runs: OK # git bisect bad 8ab705b5408369a59c92e8bc24ffc9432fa2e3f6 Bisecting: 7870 revisions left to test after this (roughly 13 steps) [631d6914085b4eea8d68a84f800974a6ad8fb5c0] Merge tag 'sound-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/tiwai/sound testing commit 631d6914085b4eea8d68a84f800974a6ad8fb5c0 with gcc (GCC) 8.1.0 kernel signature: 258722fe3dc45d7dbfa01afea7712d7e7bbc7f44fef07e76f81a210d6e026f50 all runs: crashed: KASAN: global-out-of-bounds Read in precalculate_color # git bisect good 631d6914085b4eea8d68a84f800974a6ad8fb5c0 Bisecting: 3899 revisions left to test after this (roughly 12 steps) [9aa900c8094dba7a60dc805ecec1e9f720744ba1] Merge tag 'char-misc-5.8-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/char-misc testing commit 9aa900c8094dba7a60dc805ecec1e9f720744ba1 with gcc (GCC) 8.1.0 kernel signature: e9a09751af4b8c92c3765cf7010db2ccc295ed279b09054b729daf21c036ceac all runs: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks # git bisect skip 9aa900c8094dba7a60dc805ecec1e9f720744ba1 Bisecting: 3899 revisions left to test after this (roughly 12 steps) [539e786cc37ee5cb6e051ef5eb72b7a7c03022cf] sh: add loglvl to show_trace() testing commit 539e786cc37ee5cb6e051ef5eb72b7a7c03022cf with gcc (GCC) 8.1.0 kernel signature: 488ce93df5c29e7a426e3ba9995ca09f3c719ce571eeaf8c7b22de2d5c87df19 all runs: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks # git bisect skip 539e786cc37ee5cb6e051ef5eb72b7a7c03022cf Bisecting: 3899 revisions left to test after this (roughly 12 steps) [ebe363197e525ffbd279c729421f6f6c24d8d681] gpio: add a reusable generic gpio_chip using regmap testing commit ebe363197e525ffbd279c729421f6f6c24d8d681 with gcc (GCC) 8.1.0 kernel signature: 1dd93228f6c0faf645c75927336b35d9efd415958cb507b2dca1c9d64eb78227 all runs: crashed: KASAN: global-out-of-bounds Read in precalculate_color # git bisect good ebe363197e525ffbd279c729421f6f6c24d8d681 Bisecting: 3895 revisions left to test after this (roughly 12 steps) [ceabef7dd71720aef58bd182943352c9c307a3de] dynamic_debug: add an option to enable dynamic debug for modules only testing commit ceabef7dd71720aef58bd182943352c9c307a3de with gcc (GCC) 8.1.0 kernel signature: 11a2c428f8790aa4acf7818ecb06c96c1f534b3bdf4dcbaf9070677593c7f749 all runs: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks # git bisect skip ceabef7dd71720aef58bd182943352c9c307a3de Bisecting: 3895 revisions left to test after this (roughly 12 steps) [cca9cc05fe98f3eb0cfb58ec6739cfc9d0b4ccbf] x86/mce/amd: Protect a not-fully initialized bank from the thresholding interrupt testing commit cca9cc05fe98f3eb0cfb58ec6739cfc9d0b4ccbf with gcc (GCC) 8.1.0 kernel signature: f079ae1098cf197595d27b055ff07d57b3ca29cd15498ec88993cb90326a3fee all runs: crashed: KASAN: global-out-of-bounds Read in precalculate_color # git bisect good cca9cc05fe98f3eb0cfb58ec6739cfc9d0b4ccbf Bisecting: 3893 revisions left to test after this (roughly 12 steps) [e1eb26fa62d04ec0955432be1aa8722a97cb52e7] ipc/namespace.c: use a work queue to free_ipc testing commit e1eb26fa62d04ec0955432be1aa8722a97cb52e7 with gcc (GCC) 8.1.0 kernel signature: b1ab83b2769a06a0721079d0f0d1b22adb96df3e44767d8c38043c95bd57c76d all runs: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks # git bisect skip e1eb26fa62d04ec0955432be1aa8722a97cb52e7 Bisecting: 3893 revisions left to test after this (roughly 12 steps) [3fd2fdb311fab622ed95568e2a90cb02fe06227c] mmc: meson-mx-sdio: Depend on OF_ADDRESS and not just OF testing commit 3fd2fdb311fab622ed95568e2a90cb02fe06227c with gcc (GCC) 8.1.0 kernel signature: 05903bbb60a911401c022a5b653c0eddfa32979e94ea11844e8c0d083234fbdb all runs: crashed: KASAN: global-out-of-bounds Read in precalculate_color # git bisect good 3fd2fdb311fab622ed95568e2a90cb02fe06227c Bisecting: 3890 revisions left to test after this (roughly 12 steps) [d40edafe80569c5b4d8893c1cdd1060c54ef433c] ARM: dts: imx6qdl-gw5910: add support for bcm4330-bt testing commit d40edafe80569c5b4d8893c1cdd1060c54ef433c with gcc (GCC) 8.1.0 kernel signature: 34cec168cb735e4a10b2890d7bcf2674ba6b128279438ad6e28d89bee2fb017e all runs: crashed: KASAN: global-out-of-bounds Read in precalculate_color # git bisect good d40edafe80569c5b4d8893c1cdd1060c54ef433c Bisecting: 3883 revisions left to test after this (roughly 12 steps) [3db978d480e2843979a2b56f2f7da726f2b295b2] kernel/sysctl: support setting sysctl parameters from kernel command line testing commit 3db978d480e2843979a2b56f2f7da726f2b295b2 with gcc (GCC) 8.1.0 kernel signature: 8db14b3ee97dda5f43bb859931aaddf01c75564b38461cc0b814d85f21b5ca96 all runs: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks # git bisect skip 3db978d480e2843979a2b56f2f7da726f2b295b2 Bisecting: 3883 revisions left to test after this (roughly 12 steps) [fa94111d94354de76c47fea6e1187d1ee91e23a7] x86: use non-set_fs based maccess routines testing commit fa94111d94354de76c47fea6e1187d1ee91e23a7 with gcc (GCC) 8.1.0 kernel signature: 167313c31190b0c069c35d8b14697f04ba71fd39ab2251c650af5db4b37e0670 run #0: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in corrupted run #1: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #2: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #3: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #4: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #5: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #6: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #7: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #8: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #9: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks # git bisect skip fa94111d94354de76c47fea6e1187d1ee91e23a7 Bisecting: 3883 revisions left to test after this (roughly 12 steps) [4f426e6e070fb29974f97a15876aa09501e56e09] mtd: rawnand: davinci: Stop using nand_chip.legacy.IO_ADDR_{R, W} testing commit 4f426e6e070fb29974f97a15876aa09501e56e09 with gcc (GCC) 8.1.0 kernel signature: 1038b02294387c478ff6aacfafe4e09a1fb88249d51aec037e157b7751de3c17 all runs: crashed: KASAN: global-out-of-bounds Read in precalculate_color # git bisect good 4f426e6e070fb29974f97a15876aa09501e56e09 Bisecting: 3818 revisions left to test after this (roughly 12 steps) [8d5e202802a5de1f81c445cacbb9359fcd4e6f23] scsi: isci: Use true, false for bool variables testing commit 8d5e202802a5de1f81c445cacbb9359fcd4e6f23 with gcc (GCC) 8.1.0 kernel signature: 1ead23cd2d13285c2e1c03be93193b62cf90d12a24062236708c954af39fbd57 all runs: crashed: KASAN: global-out-of-bounds Read in precalculate_color # git bisect good 8d5e202802a5de1f81c445cacbb9359fcd4e6f23 Bisecting: 3812 revisions left to test after this (roughly 12 steps) [01f39c1c11ee5bf44a1df49e47eb53a86515b9dc] xarray.h: correct return code documentation for xa_store_{bh,irq}() testing commit 01f39c1c11ee5bf44a1df49e47eb53a86515b9dc with gcc (GCC) 8.1.0 kernel signature: c8fb6418c80fcdc09f1578ec3b2505045bacf6515c0aef01136733bbad34eb3d run #0: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #1: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #2: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #3: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #4: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in corrupted run #5: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #6: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #7: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #8: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #9: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks # git bisect skip 01f39c1c11ee5bf44a1df49e47eb53a86515b9dc Bisecting: 3812 revisions left to test after this (roughly 12 steps) [e702a7c346344733824e27c943cbef59b74aef6f] usb: gadget: f_serial: add suspend resume callbacks testing commit e702a7c346344733824e27c943cbef59b74aef6f with gcc (GCC) 8.1.0 kernel signature: 870fedae5604947ea84948d40aac6a1d04a08e8900a2c114f82012c807edb3e0 all runs: crashed: KASAN: global-out-of-bounds Read in precalculate_color # git bisect good e702a7c346344733824e27c943cbef59b74aef6f Bisecting: 3786 revisions left to test after this (roughly 12 steps) [2d49d89c73fe9b76b02799a71e768b312ad65039] c6x: use asm-generic/cacheflush.h testing commit 2d49d89c73fe9b76b02799a71e768b312ad65039 with gcc (GCC) 8.1.0 kernel signature: 11b0dfe70a2b7bba0d6d8a01c39bfb5a9f55ee091434f688d984c7a5337db8ad run #0: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in corrupted run #1: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #2: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #3: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #4: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #5: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #6: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #7: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #8: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks run #9: basic kernel testing failed: BUG: using smp_processor_id() in preemptible code in ext4_mb_new_blocks # git bisect skip 2d49d89c73fe9b76b02799a71e768b312ad65039 Bisecting: 3786 revisions left to test after this (roughly 12 steps) [e75a6795ed132f26f69d08dea958630d5993056d] locking/atomics, kcsan: Add KCSAN instrumentation testing commit e75a6795ed132f26f69d08dea958630d5993056d with gcc (GCC) 8.1.0 kernel signature: ad356ec5ca5eca9af2edbae3e152251b08d9f8b84a66730e085e75caf7edcb19 all runs: OK # git bisect bad e75a6795ed132f26f69d08dea958630d5993056d Bisecting: 3 revisions left to test after this (roughly 2 steps) [5f5c971292b43fed68273d5cba7202f6bd953df9] objtool, kcsan: Add KCSAN runtime functions to whitelist testing commit 5f5c971292b43fed68273d5cba7202f6bd953df9 with gcc (GCC) 8.1.0 kernel signature: 6ff868492ea858b117bcdc6063beab88908525d3612216b47ec2e585067f170f all runs: OK # git bisect bad 5f5c971292b43fed68273d5cba7202f6bd953df9 Bisecting: 1 revision left to test after this (roughly 1 step) [c48981eeb0d56e107691df590007d6699441a689] include/linux/compiler.h: Introduce data_race(expr) macro testing commit c48981eeb0d56e107691df590007d6699441a689 with gcc (GCC) 8.1.0 kernel signature: fd7f4069b6a72ef091ed375dee290cc6cde345fdaa005bedbd0d962d7c5eacda all runs: OK # git bisect bad c48981eeb0d56e107691df590007d6699441a689 Bisecting: 0 revisions left to test after this (roughly 0 steps) [dfd402a4c4baae42398ce9180ff424d589b8bffc] kcsan: Add Kernel Concurrency Sanitizer infrastructure testing commit dfd402a4c4baae42398ce9180ff424d589b8bffc with gcc (GCC) 8.1.0 kernel signature: cb0aae780b3a24f7f152ebc118063e4779e1ee279cd506cbfbefe6c4b57ce990 all runs: OK # git bisect bad dfd402a4c4baae42398ce9180ff424d589b8bffc dfd402a4c4baae42398ce9180ff424d589b8bffc is the first bad commit commit dfd402a4c4baae42398ce9180ff424d589b8bffc Author: Marco Elver Date: Thu Nov 14 19:02:54 2019 +0100 kcsan: Add Kernel Concurrency Sanitizer infrastructure Kernel Concurrency Sanitizer (KCSAN) is a dynamic data-race detector for kernel space. KCSAN is a sampling watchpoint-based data-race detector. See the included Documentation/dev-tools/kcsan.rst for more details. This patch adds basic infrastructure, but does not yet enable KCSAN for any architecture. Signed-off-by: Marco Elver Acked-by: Paul E. McKenney Signed-off-by: Paul E. McKenney MAINTAINERS | 11 + Makefile | 3 +- include/linux/compiler-clang.h | 9 + include/linux/compiler-gcc.h | 7 + include/linux/compiler.h | 37 ++- include/linux/kcsan-checks.h | 97 +++++++ include/linux/kcsan.h | 115 ++++++++ include/linux/sched.h | 4 + init/init_task.c | 8 + init/main.c | 2 + kernel/Makefile | 1 + kernel/kcsan/Makefile | 11 + kernel/kcsan/atomic.h | 27 ++ kernel/kcsan/core.c | 626 +++++++++++++++++++++++++++++++++++++++++ kernel/kcsan/debugfs.c | 275 ++++++++++++++++++ kernel/kcsan/encoding.h | 94 +++++++ kernel/kcsan/kcsan.h | 108 +++++++ kernel/kcsan/report.c | 320 +++++++++++++++++++++ kernel/kcsan/test.c | 121 ++++++++ lib/Kconfig.debug | 2 + lib/Kconfig.kcsan | 118 ++++++++ lib/Makefile | 3 + scripts/Makefile.kcsan | 6 + scripts/Makefile.lib | 10 + 24 files changed, 2006 insertions(+), 9 deletions(-) create mode 100644 include/linux/kcsan-checks.h create mode 100644 include/linux/kcsan.h create mode 100644 kernel/kcsan/Makefile create mode 100644 kernel/kcsan/atomic.h create mode 100644 kernel/kcsan/core.c create mode 100644 kernel/kcsan/debugfs.c create mode 100644 kernel/kcsan/encoding.h create mode 100644 kernel/kcsan/kcsan.h create mode 100644 kernel/kcsan/report.c create mode 100644 kernel/kcsan/test.c create mode 100644 lib/Kconfig.kcsan create mode 100644 scripts/Makefile.kcsan parent commit 31f4f5b495a62c9a8b15b1c3581acd5efeb9af8c wasn't tested testing commit 31f4f5b495a62c9a8b15b1c3581acd5efeb9af8c with gcc (GCC) 8.1.0 kernel signature: dd8f5b88580f865327ab6c8a1fca079313f8a795b2abdf6347d67da5fa9bd0e7 culprit signature: cb0aae780b3a24f7f152ebc118063e4779e1ee279cd506cbfbefe6c4b57ce990 parent signature: dd8f5b88580f865327ab6c8a1fca079313f8a795b2abdf6347d67da5fa9bd0e7 revisions tested: 34, total time: 5h56m44.281429521s (build: 3h24m33.893661942s, test: 2h27m18.725866202s) first good commit: dfd402a4c4baae42398ce9180ff424d589b8bffc kcsan: Add Kernel Concurrency Sanitizer infrastructure recipients (to): ["clang-built-linux@googlegroups.com" "elver@google.com" "elver@google.com" "juri.lelli@redhat.com" "kasan-dev@googlegroups.com" "linux-kbuild@vger.kernel.org" "linux-sparse@vger.kernel.org" "luc.vanoostenryck@gmail.com" "masahiroy@kernel.org" "michal.lkml@markovi.net" "mingo@redhat.com" "paulmck@kernel.org" "peterz@infradead.org" "vincent.guittot@linaro.org"] recipients (cc): ["a.darwish@linutronix.de" "akpm@linux-foundation.org" "bsegall@google.com" "changbin.du@intel.com" "dietmar.eggemann@arm.com" "dvyukov@google.com" "jpa@git.mail.kapsi.fi" "keescook@chromium.org" "linux-kernel@vger.kernel.org" "mark.rutland@arm.com" "mgorman@suse.de" "mhiramat@kernel.org" "miguel.ojeda.sandonis@gmail.com" "paulmck@kernel.org" "rostedt@goodmis.org" "rppt@kernel.org" "samitolvanen@google.com" "tglx@linutronix.de" "viro@zeniv.linux.org.uk" "will@kernel.org"]