Workaround: $ cat /etc/pm/sleep.d/20_brcmfmac #!/bin/sh case "${1}" in suspend) rmmod brcmfmac ;; resume) modprobe brcmfmac ;; esac
-- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/1908916 Title: brcmfmac bug while going to sleep Status in linux package in Ubuntu: Confirmed Bug description: Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439355] BUG: kernel NULL pointer dereference, address: 0000000000000050 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439365] #PF: supervisor read access in kernel mode Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439368] #PF: error_code(0x0000) - not-present page Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439371] PGD 0 P4D 0 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439379] Oops: 0000 [#1] SMP PTI Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439386] CPU: 2 PID: 869 Comm: wpa_supplicant Tainted: G OE 5.4.0-58-generic #64-Ubuntu Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439389] Hardware name: Apple Inc. MacBookPro12,1/Mac-E43C1C25D4880AD6, BIOS 184.0.0.0.0 04/11/2019 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439427] RIP: 0010:brcmf_remove_interface+0x4e/0x80 [brcmfmac] Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439433] Code: 00 00 75 4c 44 8b 47 60 41 89 f4 bf 02 00 00 00 48 c7 c2 90 b8 8e c0 48 c7 c6 90 3b 8e c0 e8 19 dc ff ff 48 8b 3b 48 8b 47 08 <48> 8b 40 50 48 85 c0 74 0b 48 89 df e8 71 b9 b3 d6 48 8b 3b 8b 73 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439437] RSP: 0018:ffffaa0f00bab9a8 EFLAGS: 00010286 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439441] RAX: 0000000000000000 RBX: ffff95ffd50b1000 RCX: 0000000000000001 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439445] RDX: ffffffffc08eb890 RSI: ffffffffc08e3b90 RDI: ffff95ffd6a647a0 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439448] RBP: ffffaa0f00bab9b8 R08: 0000000000000000 R09: 0000000000000000 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439451] R10: 0000017f4b2f6a93 R11: 000000000396353f R12: 0000000000000001 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439454] R13: 000000000000000a R14: 0000000000000000 R15: ffff95ffd59a8000 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439458] FS: 00007f1031058140(0000) GS:ffff95ffdeb00000(0000) knlGS:0000000000000000 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439462] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439465] CR2: 0000000000000050 CR3: 0000000453dd2003 CR4: 00000000003606e0 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439468] Call Trace: Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439495] brcmf_p2p_del_vif+0x256/0x280 [brcmfmac] Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439517] brcmf_cfg80211_del_iface+0x194/0x210 [brcmfmac] Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439599] nl80211_del_interface+0x4f/0x110 [cfg80211] Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439609] genl_family_rcv_msg+0x1b9/0x470 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439618] genl_rcv_msg+0x4c/0xa0 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439624] ? _cond_resched+0x19/0x30 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439630] ? genl_family_rcv_msg+0x470/0x470 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439635] netlink_rcv_skb+0x50/0x120 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439641] genl_rcv+0x29/0x40 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439646] netlink_unicast+0x187/0x220 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439652] netlink_sendmsg+0x222/0x3e0 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439660] sock_sendmsg+0x65/0x70 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439666] ____sys_sendmsg+0x212/0x280 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439673] ___sys_sendmsg+0x88/0xd0 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439681] ? dentry_free+0x37/0x70 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439688] ? security_file_free+0x54/0x60 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439695] ? get_max_files+0x20/0x20 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439703] ? __cgroup_bpf_run_filter_setsockopt+0xae/0x2d0 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439708] ? _cond_resched+0x19/0x30 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439714] ? aa_sk_perm+0x43/0x170 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439722] __sys_sendmsg+0x5c/0xa0 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439730] __x64_sys_sendmsg+0x1f/0x30 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439738] do_syscall_64+0x57/0x190 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439745] entry_SYSCALL_64_after_hwframe+0x44/0xa9 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439750] RIP: 0033:0x7f10313e8747 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439755] Code: 64 89 02 48 c7 c0 ff ff ff ff eb bb 0f 1f 80 00 00 00 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 2e 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 89 54 24 1c 48 89 74 24 10 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439759] RSP: 002b:00007fffeace23a8 EFLAGS: 00000246 ORIG_RAX: 000000000000002e Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439763] RAX: ffffffffffffffda RBX: 0000563dd3d9d670 RCX: 00007f10313e8747 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439766] RDX: 0000000000000000 RSI: 00007fffeace23e0 RDI: 0000000000000006 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439769] RBP: 0000563dd3dc9c00 R08: 0000000000000004 R09: 00007f10314b0b80 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439772] R10: 00007fffeace24b4 R11: 0000000000000246 R12: 0000563dd3d9d580 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439775] R13: 00007fffeace23e0 R14: 00007fffeace24b4 R15: 0000563dd3de6c80 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439780] Modules linked in: vboxnetadp(OE) vboxnetflt(OE) vboxdrv(OE) aufs overlay bnep snd_hda_codec_hdmi joydev intel_rapl_msr mei_hdcp binfmt_misc nls_iso8859_1 btusb btrtl btbcm btintel bluetooth ecdh_generic ecc bcm5974 input_leds snd_hda_codec_cirrus snd_hda_codec_generic ledtrig_audio snd_hda_intel snd_intel_dspcfg snd_hda_codec snd_hda_core snd_hwdep intel_rapl_common x86_pkg_temp_thermal snd_pcm intel_powerclamp kvm_intel brcmfmac kvm snd_seq_midi crct10dif_pclmul snd_seq_midi_event ghash_clmulni_intel snd_rawmidi rapl intel_cstate brcmutil i915 intel_pch_thermal cfg80211 snd_seq snd_seq_device snd_timer snd mei_me mei drm_kms_helper dw_dmac_pci i2c_algo_bit fb_sys_fops soundcore syscopyarea sysfillrect sysimgblt sbs sbshc apple_bl mac_hid acpi_als kfifo_buf industrialio sch_fq_codel aesni_intel crypto_simd cryptd glue_helper dm_crypt videobuf2_dma_sg videobuf2_memops videobuf2_v4l2 videobuf2_common videodev mc applesmc input_polldev coretemp parport_pc ppdev lp parport drm Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439848] ip_tables x_tables autofs4 hid_apple hid_generic usbhid hid uas usb_storage ahci crc32_pclmul libahci i2c_i801 lpc_ich thunderbolt spi_pxa2xx_pci video applespi spi_pxa2xx_platform dw_dmac dw_dmac_core [last unloaded: facetimehd] Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439873] CR2: 0000000000000050 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439879] ---[ end trace 0b45e6d0259e4da8 ]--- Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439902] RIP: 0010:brcmf_remove_interface+0x4e/0x80 [brcmfmac] Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439907] Code: 00 00 75 4c 44 8b 47 60 41 89 f4 bf 02 00 00 00 48 c7 c2 90 b8 8e c0 48 c7 c6 90 3b 8e c0 e8 19 dc ff ff 48 8b 3b 48 8b 47 08 <48> 8b 40 50 48 85 c0 74 0b 48 89 df e8 71 b9 b3 d6 48 8b 3b 8b 73 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439910] RSP: 0018:ffffaa0f00bab9a8 EFLAGS: 00010286 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439914] RAX: 0000000000000000 RBX: ffff95ffd50b1000 RCX: 0000000000000001 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439917] RDX: ffffffffc08eb890 RSI: ffffffffc08e3b90 RDI: ffff95ffd6a647a0 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439919] RBP: ffffaa0f00bab9b8 R08: 0000000000000000 R09: 0000000000000000 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439922] R10: 0000017f4b2f6a93 R11: 000000000396353f R12: 0000000000000001 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439925] R13: 000000000000000a R14: 0000000000000000 R15: ffff95ffd59a8000 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439929] FS: 00007f1031058140(0000) GS:ffff95ffdeb00000(0000) knlGS:0000000000000000 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439932] CS: 0010 DS: 0000 ES: 0000 CR0: 0000000080050033 Dec 20 10:59:18 nir-MacBookPro kernel: [ 1646.439935] CR2: 0000000000000050 CR3: 0000000453dd2003 CR4: 00000000003606e0 ProblemType: Bug DistroRelease: Ubuntu 20.04 Package: linux-image-5.4.0-58-generic 5.4.0-58.64 ProcVersionSignature: Ubuntu 5.4.0-58.64-generic 5.4.73 Uname: Linux 5.4.0-58-generic x86_64 ApportVersion: 2.20.11-0ubuntu27.14 Architecture: amd64 AudioDevicesInUse: USER PID ACCESS COMMAND /dev/snd/controlC0: nir 8543 F.... pulseaudio /dev/snd/controlC1: nir 8543 F.... pulseaudio CasperMD5CheckResult: skip CurrentDesktop: ubuntu:GNOME Date: Mon Dec 21 07:52:40 2020 EcryptfsInUse: Yes HibernationDevice: RESUME= InstallationDate: Installed on 2018-03-23 (1003 days ago) InstallationMedia: Ubuntu 17.10 "Artful Aardvark" - Release amd64 (20180105.1) Lsusb: Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 003: ID 05ac:0273 Apple, Inc. Internal Keyboard/Trackpad (ISO) Bus 001 Device 002: ID 05ac:8290 Apple, Inc. Bluetooth Host Controller Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub MachineType: Apple Inc. MacBookPro12,1 ProcEnviron: TERM=xterm-256color PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=en_US.UTF-8 SHELL=/bin/bash ProcFB: 0 i915drmfb ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-5.4.0-58-generic root=UUID=b7c8eea7-b64d-4137-bfba-6ae7016d0e31 ro quiet splash vt.handoff=7 RelatedPackageVersions: linux-restricted-modules-5.4.0-58-generic N/A linux-backports-modules-5.4.0-58-generic N/A linux-firmware 1.187.6 SourcePackage: linux UpgradeStatus: Upgraded to focal on 2020-05-08 (226 days ago) dmi.bios.date: 04/11/2019 dmi.bios.vendor: Apple Inc. dmi.bios.version: 184.0.0.0.0 dmi.board.name: Mac-E43C1C25D4880AD6 dmi.board.vendor: Apple Inc. dmi.board.version: MacBookPro12,1 dmi.chassis.type: 9 dmi.chassis.vendor: Apple Inc. dmi.chassis.version: Mac-E43C1C25D4880AD6 dmi.modalias: dmi:bvnAppleInc.:bvr184.0.0.0.0:bd04/11/2019:svnAppleInc.:pnMacBookPro12,1:pvr1.0:rvnAppleInc.:rnMac-E43C1C25D4880AD6:rvrMacBookPro12,1:cvnAppleInc.:ct9:cvrMac-E43C1C25D4880AD6: dmi.product.family: MacBook Pro dmi.product.name: MacBookPro12,1 dmi.product.version: 1.0 dmi.sys.vendor: Apple Inc. modified.conffile..etc.default.apport: [modified] mtime.conffile..etc.default.apport: 2018-04-25T11:07:27.813515 To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1908916/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp