git checkout 9e895ace5d82df8929b16f58e9f515f6d54ab82d Previous HEAD position was 728c681... Merge remote-tracking branch 'kees/strncpy-strlen' into devel-hive-x86_64-201306231236 HEAD is now at 9e895ac... Linux 3.10-rc7 ls -a /kernel-tests/run-queue/kvm/x86_64-randconfig-h005-0623/linux-devel:devel-hive-x86_64-201306231236:9e895ace5d82df8929b16f58e9f515f6d54ab82d:bisect-vfs 2013-06-23-13:27:49 9e895ace5d82df8929b16f58e9f515f6d54ab82d reuse /kernel/x86_64-randconfig-h005-0623/9e895ace5d82df8929b16f58e9f515f6d54ab82d/vmlinuz-3.10.0-rc7 2013-06-23-13:27:50 detecting boot state .. 3 4 12 18 24 30 32 34............ 35 39 49 62 69 76 78 SUCCESS bisect: good commit 9e895ace5d82df8929b16f58e9f515f6d54ab82d git bisect start 728c681783a8e0b8a0dc5df440503c51bbaa9789 9e895ace5d82df8929b16f58e9f515f6d54ab82d -- Previous HEAD position was 9e895ac... Linux 3.10-rc7 HEAD is now at c1be5a5... Linux 3.9 Bisecting: 5 revisions left to test after this (roughly 3 steps) [76bf0e2ad9dacf346f861d13764ef4e3ed10e310] x86: kaslr: report kernel offset on panic git bisect run /c/kernel-tests/bisect-test-boot-failure.sh /home/wfg/vfs/obj-bisect running /c/kernel-tests/bisect-test-boot-failure.sh /home/wfg/vfs/obj-bisect ls -a /kernel-tests/run-queue/kvm/x86_64-randconfig-h005-0623/linux-devel:devel-hive-x86_64-201306231236:76bf0e2ad9dacf346f861d13764ef4e3ed10e310:bisect-vfs 2013-06-23-13:42:32 76bf0e2ad9dacf346f861d13764ef4e3ed10e310 compiling 358 real 2044 user 187 sys 621.97% cpu x86_64-randconfig-h005-0623 2013-06-23-13:49:46 detecting boot state 3.10.0-rc6-00426-g76bf0e2... 3 5 6 12. 14 17........... 18 23 35 TEST FAILURE Increasing repeat count from 78 to 187 dmesg-kvm-lkp-nex04-33605-20130623140230-3.10.0-rc6-00426-g76bf0e2-54 dmesg-kvm-lkp-nex04-42483-20130623140239-3.10.0-rc6-00426-g76bf0e2-54 Bisecting: 2 revisions left to test after this (roughly 2 steps) [a6c21a0b3185bcc54996819157735398140a674f] x86: kaslr: return location from decompress_kernel running /c/kernel-tests/bisect-test-boot-failure.sh /home/wfg/vfs/obj-bisect ls -a /kernel-tests/run-queue/kvm/x86_64-randconfig-h005-0623/linux-devel:devel-hive-x86_64-201306231236:a6c21a0b3185bcc54996819157735398140a674f:bisect-vfs 2013-06-23-14:01:48 a6c21a0b3185bcc54996819157735398140a674f compiling 28 real 45 user 8 sys 191.30% cpu x86_64-randconfig-h005-0623 2013-06-23-14:02:24 detecting boot state 3.10.0-rc6-00423-ga6c21a0.. 3 4 7. 8 12 13.. 14 15 16 19 20 21 25 32 39 41 44 49 55 64 74 78 82 89 94 99 105 114 115 119 125 127 132 135 140 141 149 151 153 157 164 169 170 180 186 187 SUCCESS Bisecting: 0 revisions left to test after this (roughly 1 step) [c1babe7ec300af293cf2716f037a935e6bb81a94] x86: kaslr: select memory region from e820 maps running /c/kernel-tests/bisect-test-boot-failure.sh /home/wfg/vfs/obj-bisect ls -a /kernel-tests/run-queue/kvm/x86_64-randconfig-h005-0623/linux-devel:devel-hive-x86_64-201306231236:c1babe7ec300af293cf2716f037a935e6bb81a94:bisect-vfs 2013-06-23-14:27:59 c1babe7ec300af293cf2716f037a935e6bb81a94 compiling 54 real 43 user 7 sys 95.13% cpu x86_64-randconfig-h005-0623 2013-06-23-14:30:31 detecting boot state 3.10.0-rc6-00425-gc1babe7. 2 12 19 25 29 33 37 39 45 49 55 58. 60...... 63 TEST FAILURE Increasing repeat count from 187 to 640 dmesg-kvm-lkp-sbx04-3639-20130623184511-3.10.0-rc6-00425-gc1babe7-56 Bisecting: 0 revisions left to test after this (roughly 0 steps) [57fa4af0635d30b2061377aab87094762fbc3373] x86: kaslr: select random base offset running /c/kernel-tests/bisect-test-boot-failure.sh /home/wfg/vfs/obj-bisect ls -a /kernel-tests/run-queue/kvm/x86_64-randconfig-h005-0623/linux-devel:devel-hive-x86_64-201306231236:57fa4af0635d30b2061377aab87094762fbc3373:bisect-vfs 2013-06-23-14:41:32 57fa4af0635d30b2061377aab87094762fbc3373 compiling 24 real 45 user 7 sys 223.39% cpu x86_64-randconfig-h005-0623 2013-06-23-14:42:06 detecting boot state 3.10.0-rc6-00424-g57fa4af.. 3... 6 9 13 16 21 22 26 28 30 36 37 40 41 42 43. 45 49 TEST FAILURE dmesg-kvm-lkp-nex04-41898-20130623145429-3.10.0-rc6-00424-g57fa4af-57 dmesg-kvm-lkp-nex04-49646-20130623145423-3.10.0-rc6-00424-g57fa4af-57 dmesg-kvm-lkp-nex04-49794-20130623145433-3.10.0-rc6-00424-g57fa4af-57 57fa4af0635d30b2061377aab87094762fbc3373 is the first bad commit commit 57fa4af0635d30b2061377aab87094762fbc3373 Author: Kees Cook Date: Tue Apr 23 17:18:38 2013 -0700 x86: kaslr: select random base offset Select a random location when CONFIG_RANDOMIZE_BASE is used, bounded by CONFIG_RANDOMIZE_BASE_MAX_OFFSET. Sources of randomness currently include RDRAND, RDTSC, or the i8254. Signed-off-by: Kees Cook --- v3: - fall back to reading the i8254 when no TSC, suggested by HPA. v2: - use rdtscl from msr.h, thanks to Mathias Krause. :040000 040000 86efe9a82901cc38c573f0129979d7d86515cb74 861d12ed5b44131c9b9ccfb938efba39e603d815 M arch bisect run success ls -a /kernel-tests/run-queue/kvm/x86_64-randconfig-h005-0623/linux-devel:devel-hive-x86_64-201306231236:a6c21a0b3185bcc54996819157735398140a674f:bisect-vfs 2013-06-23-14:54:07 a6c21a0b3185bcc54996819157735398140a674f reuse /kernel/x86_64-randconfig-h005-0623/a6c21a0b3185bcc54996819157735398140a674f/vmlinuz-3.10.0-rc6-00423-ga6c21a0 2013-06-23-14:54:09 detecting boot state ... 1. 4.. 5 8 9 11 14. 15 18 22 23 25 31 32 37 42 47 50 57 64 72 73 79 87 91 93 100 104 116 125 127 139 147 154 171 185 195 201 212 222 223 232 241 256 260 264 269 273 276 280 284 287 290 310 323 334 337 343 364 376 390 398 407 417 442 455 466 475 484 493 504 513 518 522 528 532 535 548 557 577 591 605 617 632 659 673 698 717 747 761 773 779 785 798 808 814 835 844 856 869 880 897 907 915 928 942 956 966 973 1007 1027 1034 1056 1066 1083 1097 1107 1126 1133 1160 1175 1182 1191 1207 1216 1233 1241 1266 1286 1303 1324 1337 1350 1373 1393 1399 1419 1425 1440. 1489 1502 1526 1538 1544 1559 1565 1580 1598 1612 1635 1652 1666 1673 1684 1703 1724 1730 1735 1737 1760 1769 1781 1790 1797 1809 1820 1828 1835 1846 1854 1860 1882 1889 1901 1904 1911 1916 1918...... 1920 SUCCESS ls -a /kernel-tests/run-queue/kvm/x86_64-randconfig-h005-0623/linux-devel:devel-hive-x86_64-201306231236:728c681783a8e0b8a0dc5df440503c51bbaa9789:bisect-vfs TEST FAILURE /kernel/x86_64-randconfig-h005-0623/728c681783a8e0b8a0dc5df440503c51bbaa9789/dmesg-kvm-inn-12623-20130623132616-3.10.0-rc7-00012-g728c681-3 /kernel/x86_64-randconfig-h005-0623/728c681783a8e0b8a0dc5df440503c51bbaa9789/dmesg-kvm-inn-44018-20130623132626-3.10.0-rc7-00012-g728c681-3 /kernel/x86_64-randconfig-h005-0623/728c681783a8e0b8a0dc5df440503c51bbaa9789/dmesg-kvm-inn-4632-20130623132627-3.10.0-rc7-00012-g728c681-3 /kernel/x86_64-randconfig-h005-0623/728c681783a8e0b8a0dc5df440503c51bbaa9789/dmesg-kvm-kbuild-52952-20130623130057-3.10.0-rc7-00012-g728c681-3 /kernel/x86_64-randconfig-h005-0623/728c681783a8e0b8a0dc5df440503c51bbaa9789/dmesg-kvm-lkp-nex04-49345-20130623132846-3.10.0-rc7-00012-g728c681-3 /kernel/x86_64-randconfig-h005-0623/728c681783a8e0b8a0dc5df440503c51bbaa9789/dmesg-kvm-lkp-nex04-49703-20130623132838-3.10.0-rc7-00012-g728c681-3 /kernel/x86_64-randconfig-h005-0623/728c681783a8e0b8a0dc5df440503c51bbaa9789/dmesg-kvm-lkp-sbx04-1167-20130623173046-3.10.0-rc7-00012-g728c681-3 /kernel/x86_64-randconfig-h005-0623/728c681783a8e0b8a0dc5df440503c51bbaa9789/dmesg-kvm-roam-22579-20130623130447-3.10.0-rc7-00012-g728c681-3 /kernel/x86_64-randconfig-h005-0623/728c681783a8e0b8a0dc5df440503c51bbaa9789/dmesg-kvm-roam-960-20130623130436-3.10.0-rc7-00012-g728c681-3 /kernel/x86_64-randconfig-h005-0623/728c681783a8e0b8a0dc5df440503c51bbaa9789/dmesg-kvm-vp-12746-20130623132848-3.10.0-rc7-00012-g728c681-3 HEAD is now at 728c681 Merge remote-tracking branch 'kees/strncpy-strlen' into devel-hive-x86_64-201306231236 ========= upstream ========= Fetching linus ls -a /kernel-tests/run-queue/kvm/x86_64-randconfig-h005-0623/linux-devel:devel-hive-x86_64-201306231236:9e895ace5d82df8929b16f58e9f515f6d54ab82d:bisect-vfs 2013-06-23-16:30:56 9e895ace5d82df8929b16f58e9f515f6d54ab82d reuse /kernel/x86_64-randconfig-h005-0623/9e895ace5d82df8929b16f58e9f515f6d54ab82d/vmlinuz-3.10.0-rc7 2013-06-23-16:31:00 detecting boot state 3 15 26 53 86 89 91 92 95 98.......... 103 128 182 238 327 355 363 366 385 403 414 427 428 431 436 438 442. 444 445 446 448 450 452 458 476 511 519 525 582 621 629 636 649 651 666 670 681 689 692 694 700 701 706 709 710 716 724 731 732 759 781 802 823 833 841 856 878 886 900 910 915 928 940 950 958 966 967 972 986 1005 1012 1020 1064 1068 1081 1094 1109 1115 1122 1130 1146 1158 1170 1178 1180 1185 1192 1197 1198 1208 1222 1233 1248 1269 1296 1308 1324 1330 1339 1348 1355 1376 1384 1397 1410 1413 1425 1435 1444 1451 1460 1469 1476 1484 1493 1508 1522 1532 1540 1551 1557. 1586 1601 1616 1628 1632 1659 1671 1679 1684 1692 1715 1720 1727 1731 1741 1753 1766 1770 1774 1779 1783 1791. 1805 1820 1835 1839 1852 1867 1871 1881 1918............... 1920 SUCCESS ========= linux-next ========= Fetching next ls -a /kernel-tests/run-queue/kvm/x86_64-randconfig-h005-0623/linux-devel:devel-hive-x86_64-201306231236:e1a86578747376f08985627c84df088a5d0d1e92:bisect-vfs 2013-06-23-18:13:42 e1a86578747376f08985627c84df088a5d0d1e92 compiling 2013-06-23-18:21:50 detecting boot state 3.10.0-rc6-next-20130621-08021-ge1a8657.................... 3 33 83 125 159 192 194...... 195........ 202 207 223 268 279 325 352 354 357 371.... 372..... 373. 374 375 380 411 443 501 518 525 528. 529.. 536 539 541 542. 545 547 552. 554 576 622 650 678 684 688 709 715 716 717. 718 719.. 720...... 721 728 733 752 754 761 767 774 796 806 809. 813 817 822 831 833 839 843 848 857 860 864 872 873 876 880 886 890 896 908 914 920 929 933 944 954 962 968 972 978 980.. 990 992 999 1003 1011 1016 1022 1028 1030 1032 1033 1037 1040 1047. 1051 1059 1062 1070 1076 1080 1083 1087 1089 1094 1103 1109 1112 1113 1122 1129 1131 1140 1141 1143 1152 1154 1160 1162 1165 1167 1169 1176 1182 1186 1188 1196 1200 1207 1213.. 1218 1220 1228 1234 1239 1242 1249 1252 1260 1265 1274 1286 1288 1296 1300 1303 1312 1317 1321 1326 1335 1336 1341 1342 1351 1357 1364 1369 1372 1373 1378 1386 1387 1391 1393 1398 1404 1412 1419 1424 1426 1428 1437 1443 1447 1449 1451 1458 1464 1474 1487 1493 1495 1496 1508 1514 1517 1521 1529 1539 1551 1559 1571 1582 1583 1586 1598 1608 1609 1610 1611 1613 1620 1622 1623 1627 1629 1633 1639 1643 1659 1665 1677 1693 1703 1708 1711 1720 1728 1730 1735 1740 1743 1750 1752 1757 1768 1776 1779 1783 1785 1790 1804 1809 1815 1818 1830 1831 1833 1848 1860 1870 1874 1879 1887 1911 1917 1918.. 1919........................................... 1920 SUCCESS