lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Wed, 5 Mar 2014 21:31:57 +0800
From:	Fengguang Wu <fengguang.wu@...el.com>
To:	Kees Cook <keescook@...omium.org>
Cc:	"H. Peter Anvin" <hpa@...ux.intel.com>,
	linux-kernel@...r.kernel.org
Subject: [x86, kaslr] Initramfs unpacking failed: junk in compressed archive

Greetings,

I got the below dmesg and the first bad commit is

commit 82fa9637a2ba285bcc7c5050c73010b2c1b3d803
Author:     Kees Cook <keescook@...omium.org>
AuthorDate: Thu Oct 10 17:18:16 2013 -0700
Commit:     H. Peter Anvin <hpa@...ux.intel.com>
CommitDate: Sun Oct 13 03:12:19 2013 -0700

    x86, kaslr: Select random position from e820 maps
    
    Counts available alignment positions across all e820 maps, and chooses
    one randomly for the new kernel base address, making sure not to collide
    with unsafe memory areas.
    
    Signed-off-by: Kees Cook <keescook@...omium.org>
    Link: http://lkml.kernel.org/r/1381450698-28710-5-git-send-email-keescook@chromium.org
    Signed-off-by: H. Peter Anvin <hpa@...ux.intel.com>

+--------------------------------------------------------------------------+--------------+--------------+
|                                                                          | 5bfce5ef55cb | bcf1647d0899 |
+--------------------------------------------------------------------------+--------------+--------------+
| boot_successes                                                           | 3954         | 20767        |
| boot_failures                                                            | 46           | 784          |
| Kernel_panic-not_syncing:No_init_found.Try_passing_init=option_to_kernel.| 39           |              |
| backtrace:panic                                                          | 39           | 91           |
| INFO:rcu_sched_self-detected_stall_on_CPU                                | 34           | 44           |
| EIP_is_at__default_send_IPI_dest_field                                   | 38           | 52           |
| EIP_is_at_native_safe_halt                                               | 33           | 25           |
| INFO:rcu_sched_detected_stalls_on_CPUs/tasks                             | 24           | 32           |
| backtrace:apic_timer_interrupt                                           | 17           | 19           |
| backtrace:rbtree_test_init                                               | 31           | 34           |
| backtrace:kernel_init_freeable                                           | 38           | 304          |
| backtrace:cpu_startup_entry                                              | 25           | 33           |
| backtrace:erase_augmented                                                | 13           | 6            |
| EIP_is_at_graph_lock                                                     | 1            |              |
| backtrace:lock_acquire                                                   | 1            |              |
| backtrace:devtmpfsd                                                      | 1            |              |
| EIP_is_at_do_raw_spin_lock                                               | 1            |              |
| backtrace:schedule_timeout                                               | 2            | 10           |
| EIP_is_at_slob_page_alloc                                                | 1            | 13           |
| BUG:soft_lockup-CPU_stuck_for_s                                          | 7            | 210          |
| EIP_is_at_augment_callbacks_propagate                                    | 2            |              |
| Kernel_panic-not_syncing:softlockup:hung_tasks                           | 7            | 210          |
| backtrace:__kmalloc                                                      | 1            | 210          |
| backtrace:dma_debug_init                                                 | 1            | 211          |
| backtrace:pci_iommu_init                                                 | 1            | 211          |
| backtrace:check_augmented                                                | 3            | 8            |
| backtrace:insert_augmented                                               | 8            | 5            |
| EIP_is_at_mcount                                                         | 1            | 5            |
| EIP_is_at_erase_augmented                                                | 1            |              |
| EIP_is_at__delay                                                         | 1            | 1            |
| EIP_is_at__rb_rotate_set_parents                                         | 1            |              |
| EIP_is_at__rb_erase_color                                                | 2            |              |
| EIP_is_at_augment_callbacks_rotate                                       | 1            |              |
| EIP_is_at_insert_augmented                                               | 1            | 1            |
| backtrace:check                                                          | 1            |              |
| EIP_is_at_augment_recompute                                              | 1            |              |
| EIP_is_at_arch_local_irq_save                                            | 1            | 1            |
| backtrace:acpi_processor_get_power_info                                  | 1            |              |
| backtrace:acpi_processor_power_init                                      | 1            |              |
| backtrace:driver_register                                                | 1            |              |
| backtrace:acpi_processor_driver_init                                     | 1            |              |
| BUG:kernel_boot_hang                                                     | 0            | 187          |
| BUG:kernel_boot_crashed                                                  | 0            | 171          |
| EIP_is_at_arch_local_irq_restore                                         | 0            | 193          |
| EIP_is_at_native_apic_mem_write                                          | 0            | 4            |
| EIP_is_at_io_serial_in                                                   | 0            | 1            |
| Kernel_panic-not_syncing:No_working_init_found                           | 0            | 91           |
| BUG:kernel_test_crashed                                                  | 0            | 1            |
| EIP_is_at_native_load_tls                                                | 0            | 1            |
| EIP_is_at_slob_alloc                                                     | 0            | 4            |
| backtrace:smpboot_thread_fn                                              | 0            | 2            |
| backtrace:event_create_dir                                               | 0            | 12           |
| backtrace:event_trace_init                                               | 0            | 12           |
| BUG:kernel_early_hang_without_any_printk_output                          | 0            | 7            |
| EIP_is_at_raw_spin_lock                                                  | 0            | 2            |
| backtrace:SYSC_symlinkat                                                 | 0            | 2            |
| backtrace:SyS_symlink                                                    | 0            | 2            |
| backtrace:populate_rootfs                                                | 0            | 57           |
| EIP_is_at__lock_acquire                                                  | 0            | 54           |
| EIP_is_at_arch_local_irq_enable                                          | 0            | 5            |
| EIP_is_at_arch_local_save_flags                                          | 0            | 1            |
| EIP_is_at_ftrace_likely_update                                           | 0            | 3            |
| EIP_is_at_ftrace_stub                                                    | 0            | 1            |
| backtrace:prepare_to_wait_event                                          | 0            | 2            |
| EIP_is_at_slob_next                                                      | 0            | 3            |
| EIP_is_at_do_path_lookup                                                 | 0            | 1            |
| EIP_is_at_run_timer_softirq                                              | 0            | 1            |
| backtrace:free_reserved_area                                             | 0            | 53           |
| backtrace:free_init_pages                                                | 0            | 53           |
| BUG:unable_to_handle_kernel                                              | 0            | 54           |
| BUG:unable_to_handle_kernel_NULL_pointer_dereference                     | 0            | 2            |
| Oops                                                                     | 0            | 54           |
| Oops:SMP_SMP                                                             | 0            | 54           |
| EIP_is_at__queue_work                                                    | 0            | 2            |
| Kernel_panic-not_syncing:Fatal_exception_in_interrupt                    | 0            | 2            |
| EIP_is_at_lock_release                                                   | 0            | 2            |
| backtrace:vfs_lstat                                                      | 0            | 1            |
| backtrace:SyS_newlstat                                                   | 0            | 1            |
| backtrace:__pci_register_driver                                          | 0            | 3            |
| backtrace:virtio_pci_driver_init                                         | 0            | 3            |
| EIP_is_at_mark_held_locks                                                | 0            | 1            |
| EIP_is_at_serial_in                                                      | 0            | 1            |
| BUG:unable_to_handle_kernel_paging_request                               | 0            | 56           |
| Kernel_panic-not_syncing:Attempted_to_kill_init_exitcode=                | 0            | 52           |
| BUG:Int_CR2(null)                                                        | 0            | 53           |
| backtrace:kvm_get_tsc_khz                                                | 0            | 53           |
| backtrace:kvmclock_init                                                  | 0            | 53           |
| backtrace:debug_check_no_locks_freed                                     | 0            | 2            |
| backtrace:__raw_spin_lock_init                                           | 0            | 2            |
| EIP_is_at_raw_spin_lock_irqsave                                          | 0            | 1            |
| EIP_is_at__might_sleep                                                   | 0            | 1            |
| backtrace:force_qs_rnp                                                   | 0            | 3            |
| EIP_is_at_rb_insert_color                                                | 0            | 1            |
| backtrace:insert                                                         | 0            | 1            |
| WARNING:CPU:PID:at_lib/list_debug.c:__list_del_entry()                   | 0            | 1            |
| backtrace:platform_device_register_full                                  | 0            | 1            |
| backtrace:ibwdt_init                                                     | 0            | 1            |
| EIP_is_at_trace_create_file                                              | 0            | 1            |
| backtrace:address_space_init_once                                        | 0            | 1            |
| backtrace:inode_init_once                                                | 0            | 1            |
| backtrace:init_once                                                      | 0            | 1            |
| EIP_is_at_raw_spin_unlock_irqrestore                                     | 0            | 1            |
| EIP_is_at__kmalloc                                                       | 0            | 1            |
| EIP_is_at_sched_clock_local                                              | 0            | 1            |
| EIP_is_at_inode_sb_list_add                                              | 0            | 1            |
| EIP_is_at_sched_clock_cpu                                                | 0            | 1            |
| EIP_is_at_lock_is_held                                                   | 0            | 1            |
| Oops:SMP                                                                 | 0            | 4            |
| EIP_is_at__insert_resource                                               | 0            | 4            |
| Kernel_panic-not_syncing:Attempted_to_kill_the_idle_task                 | 0            | 4            |
| EIP_is_at_update_curr                                                    | 0            | 1            |
| EIP_is_at_hlock_class                                                    | 0            | 1            |
| EIP_is_at_delay_tsc                                                      | 0            | 1            |
| EIP_is_at_trace_softirqs_on                                              | 0            | 1            |
| EIP_is_at_pick_next_task_fair                                            | 0            | 1            |
| INFO:rcu_sched_self-detected_stall_on_CPU_INFO:rcu_sched_self-detected_st| 0            | 1            |
| EIP_is_at_serial_port_out                                                | 0            | 1            |
| EIP_is_at_rcu_implicit_dynticks_qs                                       | 0            | 1            |
| EIP_is_at_raw_spin_trylock                                               | 0            | 1            |
| EIP_is_at__rb_insert_augmented                                           | 0            | 1            |
+--------------------------------------------------------------------------+--------------+--------------+

[    0.824047] Initramfs unpacking failed: junk in compressed archive
[    0.824047] Initramfs unpacking failed: junk in compressed archive

git bisect start bcf1647d0899666f0fb90d176abf63bae22abb7c v3.13 --
git bisect  bad 903a9f77d1d00c8621bc37afd959ac45a4b3ebec  # 17:29     65-      1  Merge tag 'boards-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/arm/arm-soc
git bisect  bad ec513b16c480c6cdda1e3d597e611eafca05227b  # 17:45     96-      2  Merge tag 'usb-3.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb
git bisect good 4cd4156994d1e66759a86446feb82d932f63f5c8  # 19:47    980+      4  Merge branch 'x86-asm-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good fab5669d556200c4dd119af705bff14085845d1e  # 23:13    980+     11  Merge branch 'x86-ras-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect  bad 82b51734b4f228c76b6064b6e899d9d3d4c17c1a  # 23:23     39-      2  Merge tag 'arm64-upstream' of git://git.kernel.org/pub/scm/linux/kernel/git/arm64/linux
git bisect  bad f4bcd8ccddb02833340652e9f46f5127828eb79d  # 23:34    125-      2  Merge branch 'x86-kaslr-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect good 7fe67a1180db49d41a3f764c379a08f8e31580ec  # 00:39   1000+     14  Merge branch 'x86-urgent-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip
git bisect  bad 6145cfe394a7f138f6b64491c5663f97dba12450  # 01:02     80-      2  x86, kaslr: Raise the maximum virtual address to -1 GiB on x86_64
git bisect good 8ab3820fd5b2896d66da7bb2a906bc382e63e7bc  # 04:38   1000+      8  x86, kaslr: Return location from decompress_kernel
git bisect  bad 82fa9637a2ba285bcc7c5050c73010b2c1b3d803  # 05:02    137-      4  x86, kaslr: Select random position from e820 maps
git bisect good 5bfce5ef55cbe78ee2ee6e97f2e26a8a582008f3  # 06:56   1000+     16  x86, kaslr: Provide randomness functions
# first bad commit: [82fa9637a2ba285bcc7c5050c73010b2c1b3d803] x86, kaslr: Select random position from e820 maps
git bisect good 5bfce5ef55cbe78ee2ee6e97f2e26a8a582008f3  # 09:10   3000+     46  x86, kaslr: Provide randomness functions
git bisect  bad 12f1d94f0c8b256c04cb9b6b5dd989c32e44f11b  # 09:10      0-     29  Add linux-next specific files for 20140220
git bisect good ca60d29925602b4f54a1ec9ee3424aaa490b9c0f  # 14:23   3000+   1065  Revert "x86, kaslr: Select random position from e820 maps"
git bisect  bad 8427defd087ae6c5eaea9d609dfe7f165568accd  # 14:46     69-      3  MAINTAINERS: add maintainer entry for Armada DRM driver
git bisect  bad b148a42ba7823e34971cd4e5b05a5c74fa3311ed  # 15:16    127-      6  Add linux-next specific files for 20140228

Thanks,
Fengguang

View attachment "dmesg-quantal-inn-18:20140225174615:i386-randconfig-c1-02202022::" of type "text/plain" (64629 bytes)

View attachment "config-3.13.0-10237-gbcf1647" of type "text/plain" (81351 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ