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>] [thread-next>] [day] [month] [year] [list]
Message-Id: <ypeffrq2306w.fsf@maria>
Date: Sat, 14 Sep 2024 14:10:47 +0200
From: thomas <thomas@...3r.de>
To: akpm@...ux-foundation.org, linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: [BUG] 6.10.10: Bad page state in process xyz

Hi,

in 6.10.10 kernel on x86 I see those BUGs:

[   19.131851] BUG: Bad page state in process update-exim4.co  pfn:06dd0
[   19.136660] page: refcount:0 mapcount:-1 mapping:00000000 index:0x0 pfn:0x6dd0
[   19.136672] flags: 0x40000014(referenced|dirty|zone=1)
[   19.136686] raw: 40000014 00000000 00000122 00000000 00000000 00000000 fffffffe 00000000
[   19.136691] raw: 00000000 00000000
[   19.136694] page dumped because: nonzero mapcount
[   19.136697] Modules linked in: btusb btrtl btintel btbcm btmtk bluetooth ecdh_generic ecc hid_appleir input_leds af_packet mousedev hid_apple hid_generic usbmouse usbkbd usbhid appletouch joydev sr_mod cfg80211 cdrom rfkill snd_hda_codec_idt snd_hda_codec_generic radeon snd_hda_intel drm_suballoc_helper i2c_algo_bit snd_intel_dspcfg drm_ttm_helper ttm snd_hda_codec snd_hwdep snd_hda_core drm_display_helper snd_pcm i2c_i801 applesmc acpi_cpufreq i2c_smbus ata_piix rng_core drm_kms_helper ehci_pci snd_timer snd soundcore sky2 uhci_hcd ehci_hcd rtc_cmos apple_bl video wmi mac_hid sg binfmt_script binfmt_misc fuse drm dm_mod configfs efivarfs ip_tables ipv6 autofs4
[   19.136862] CPU: 1 PID: 1747 Comm: update-exim4.co Tainted: G        W          6.10.10+ #1
[   19.136870] Hardware name: Apple Computer, Inc. MacBookPro1,1/Mac-F425BEC8, BIOS    MBP11.88Z.0055.B08.0610121325 10/12/06
[   19.136875] Call Trace:
[   19.136880]  ? dump_stack_lvl+0x51/0x60
[   19.136896]  ? dump_stack+0xa/0xc
[   19.136904]  ? bad_page+0x5f/0xf0
[   19.136915]  ? free_unref_folios+0x24b/0x5a0
[   19.136926]  ? folios_put_refs+0x108/0x14c
[   19.136936]  ? free_pages_and_swap_cache+0x130/0x138
[   19.136953]  ? tlb_batch_pages_flush+0xb6/0xf0
[   19.136960]  ? unmap_page_range+0xaec/0x1214
[   19.136973]  ? do_wp_page+0x6d5/0xf38
[   19.136983]  ? unmap_vmas+0x74/0xf0
[   19.136993]  ? exit_mmap+0x94/0x1f8
[   19.137004]  ? __mmput+0x31/0xec
[   19.137012]  ? do_exit+0x2a8/0x900
[   19.137022]  ? do_group_exit+0x21/0x68
[   19.137031]  ? __ia32_sys_exit_group+0xd/0x10
[   19.137040]  ? ia32_sys_call+0x211a/0x222c
[   19.137047]  ? __do_fast_syscall_32+0x50/0xd0
[   19.137057]  ? do_fast_syscall_32+0x26/0x58
[   19.137065]  ? entry_SYSENTER_32+0x98/0xf8
[   19.137077] Disabling lock debugging due to kernel taint
[   19.137315] BUG: Bad rss-counter state mm:696603f8 type:MM_FILEPAGES val:-1

In my previous kernel I didn't see such BUGs, besides thisWARNING:

Sep 12 10:31:54 maria kernel: ------------[ cut here ]------------
Sep 12 10:31:54 maria kernel: DEBUG_LOCKS_WARN_ON(val > preempt_count())
Sep 12 10:31:54 maria kernel: WARNING: CPU: 0 PID: 2894 at preempt_count_sub+0x56/0x90
Sep 12 10:31:54 maria kernel: Modules linked in: crypto_simd cryptd xts dm_crypt rfcomm bnep btusb btrtl btintel btbcm btmtk bluetooth ecdh_generic ecc hid_appleir input_leds hid_apple mousedev hid_generic usbkbd usbmouse af_packet appletouch usbhid cfg80211 rfkill joydev sr_mod cdrom snd_hda_codec_idt snd_hda_codec_generic ledtrig_audio radeon snd_hda_intel drm_suballoc_helper snd_intel_dspcfg i2c_algo_bit snd_hda_codec drm_ttm_helper snd_hwdep snd_hda_core ttm i2c_i801 applesmc snd_pcm drm_display_helper snd_timer acpi_cpufreq i2c_smbus ata_piix drm_kms_helper rng_core sky2 snd ehci_pci rtc_cmos soundcore apple_bl uhci_hcd video ehci_hcd wmi mac_hid sg binfmt_script binfmt_misc fuse drm dm_mod configfs efivarfs ip_tables ipv6 autofs4
Sep 12 10:31:54 maria kernel: CPU: 0 PID: 2894 Comm: kworker/0:0 Tainted: G        W          6.7.12+ #2
Sep 12 10:31:54 maria kernel: Hardware name: Apple Computer, Inc. MacBookPro1,1/Mac-F425BEC8, BIOS    MBP11.88Z.0055.B08.0610121325 10/12/06
Sep 12 10:31:54 maria kernel: Workqueue: events ata_scsi_dev_rescan
Sep 12 10:31:54 maria kernel: EIP: preempt_count_sub+0x56/0x90
Sep 12 10:31:54 maria kernel: Code: 9b c3 8d b6 00 00 00 00 e8 4b 12 34 00 85 c0 74 f0 8b 0d 40 e3 3f 9b 85 c9 75 e6 68 7b cb 22 9b 68 cd e7 21 9b e8 6a 9c fd ff <0f> 0b 58 5a c3 8d b4 26 00 00 00 00 66 90 84 d2 75 bc e8 17 12 34
Sep 12 10:31:54 maria kernel: EAX: 0000002a EBX: 81d9da40 ECX: 00000002 EDX: 80000002
Sep 12 10:31:54 maria kernel: ESI: 81d9eddc EDI: 81d9ee1c EBP: 00400000 ESP: a4043f08
Sep 12 10:31:54 maria kernel: DS: 007b ES: 007b FS: 00d8 GS: 0000 SS: 0068 EFLAGS: 00010286
Sep 12 10:31:54 maria kernel: CR0: 80050033 CR2: 77e42868 CR3: 1b4ce000 CR4: 000006f0
Sep 12 10:31:54 maria kernel: Call Trace:
Sep 12 10:31:54 maria kernel:  ? show_regs+0x54/0x58
Sep 12 10:31:54 maria kernel:  ? __warn+0x6b/0xd4
Sep 12 10:31:54 maria kernel:  ? preempt_count_sub+0x56/0x90
Sep 12 10:31:54 maria kernel:  ? report_bug+0x103/0x158
Sep 12 10:31:54 maria kernel:  ? exc_overflow+0x30/0x30
Sep 12 10:31:54 maria kernel:  ? handle_bug+0x20/0x48
Sep 12 10:31:54 maria kernel:  ? exc_invalid_op+0x18/0x54
Sep 12 10:31:54 maria kernel:  ? handle_exception+0xf9/0xf9
Sep 12 10:31:54 maria kernel:  ? exc_overflow+0x30/0x30
Sep 12 10:31:54 maria kernel:  ? preempt_count_sub+0x56/0x90
Sep 12 10:31:54 maria kernel:  ? exc_overflow+0x30/0x30
Sep 12 10:31:54 maria kernel:  ? preempt_count_sub+0x56/0x90
Sep 12 10:31:54 maria kernel:  ? _raw_spin_unlock_irqrestore+0x13/0x30
Sep 12 10:31:54 maria kernel:  ? ata_scsi_dev_rescan+0x13f/0x16c
Sep 12 10:31:54 maria kernel:  ? process_one_work+0xf6/0x204
Sep 12 10:31:54 maria kernel:  ? worker_thread+0x2b8/0x3ac
Sep 12 10:31:54 maria kernel:  ? preempt_count_add+0x59/0x88
Sep 12 10:31:54 maria kernel:  ? _raw_spin_lock_irqsave+0x11/0x38
Sep 12 10:31:54 maria kernel:  ? kthread+0xd8/0x100
Sep 12 10:31:54 maria kernel:  ? mod_delayed_work_on+0x74/0x74
Sep 12 10:31:54 maria kernel:  ? kthread_complete_and_exit+0x14/0x14
Sep 12 10:31:54 maria kernel:  ? ret_from_fork+0x27/0x38
Sep 12 10:31:54 maria kernel:  ? kthread_complete_and_exit+0x14/0x14
Sep 12 10:31:54 maria kernel:  ? ret_from_fork_asm+0xf/0x14
Sep 12 10:31:54 maria kernel:  ? entry_INT80_32+0xf0/0xf0
Sep 12 10:31:54 maria kernel: ---[ end trace 0000000000000000 ]---

Any help appreciated!

mfg
thomas

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ