Bug 79441 - Kernel Panic caused by atalkd
Summary: Kernel Panic caused by atalkd
Status: NEW
Alias: None
Product: Networking
Classification: Unclassified
Component: Other (show other bugs)
Hardware: x86-64 Linux
: P1 normal
Assignee: Stephen Hemminger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-07-03 00:42 UTC by Ed Martin
Modified: 2014-07-08 10:23 UTC (History)
1 user (show)

See Also:
Kernel Version: 3.15.3
Subsystem:
Regression: No
Bisected commit-id:


Attachments
3.14.4 Panic Trace (1.29 MB, image/jpeg)
2014-07-03 00:42 UTC, Ed Martin
Details
3.14.5 Panic Trace (41.20 KB, image/png)
2014-07-03 00:43 UTC, Ed Martin
Details
3.15.3 Panic Trace (35.87 KB, image/png)
2014-07-03 00:43 UTC, Ed Martin
Details
appletalk: Set skb with destructor (1.31 KB, patch)
2014-07-05 03:01 UTC, Andrey Utkin
Details | Diff
appletalk: Fix socket referencing in skb (1.32 KB, patch)
2014-07-07 18:53 UTC, Andrey Utkin
Details | Diff

Description Ed Martin 2014-07-03 00:42:16 UTC
Created attachment 141971 [details]
3.14.4 Panic Trace

I installed slackware-current, it has the 3.14.5 kernel (unpatched) and when I try running atalkd I get the panic shown in the attachments. Same issue on 3.14.4 and 3.15.3

netatalk 2.2.3 is installed.

I'm not too sure what else you need, but I should be able to get any other info you need about it, but it's very consistent and easy to generate, so I can provide the info, and I got it happening in qemu as well.

The backtrace taken with a physical camera was on my hardware (dual quad core core2 xeon), the other two (screenshots) were taken in qemu running on the same hardware, there is a mac on the network, but iptraf shows no traffic between the mac and qemu.
Comment 1 Ed Martin 2014-07-03 00:43:08 UTC
Created attachment 141981 [details]
3.14.5 Panic Trace
Comment 2 Ed Martin 2014-07-03 00:43:44 UTC
Created attachment 141991 [details]
3.15.3 Panic Trace
Comment 3 Andrey Utkin 2014-07-05 03:01:56 UTC
Created attachment 142101 [details]
appletalk: Set skb with destructor
Comment 4 Andrey Utkin 2014-07-05 03:02:57 UTC
Please try this patch.
Comment 5 Ed Martin 2014-07-05 04:15:33 UTC
Tested it on 3.15.3, no crash, it seems to work :)
Comment 6 Andrey Utkin 2014-07-05 04:30:44 UTC
Thanks for report, posted into lists: https://patchwork.kernel.org/patch/4486251/
Comment 7 Andrey Utkin 2014-07-07 18:53:56 UTC
Created attachment 142361 [details]
appletalk: Fix socket referencing in skb

Ed, please check if this new patch fixes the issue.
Comment 8 Ed Martin 2014-07-07 20:08:56 UTC
Yup, that works too on 3.15.3
Comment 9 Andrey Utkin 2014-07-08 10:23:51 UTC
Thank you Ed, please consider marking the ticket as RESOLVED CODE_FIX.

Note You need to log in before you can comment on or make changes to this bug.