{"action":"created","issue":{"url":"https://api.github.com/repos/kewinrausch/Test/issues/185","labels_url":"https://api.github.com/repos/kewinrausch/Test/issues/185/labels{/name}","comments_url":"https://api.github.com/repos/kewinrausch/Test/issues/185/comments","events_url":"https://api.github.com/repos/kewinrausch/Test/issues/185/events","html_url":"https://github.com/kewinrausch/Test/issues/185","id":57178246,"number":185,"title":"Read fails since flow is deallocated. Kernel doesn't like it.","user":{"login":"kewinrausch","id":8994703,"avatar_url":"https://avatars.githubusercontent.com/u/8994703?v=3","gravatar_id":"","url":"https://api.github.com/users/kewinrausch","html_url":"https://github.com/kewinrausch","followers_url":"https://api.github.com/users/kewinrausch/followers","following_url":"https://api.github.com/users/kewinrausch/following{/other_user}","gists_url":"https://api.github.com/users/kewinrausch/gists{/gist_id}","starred_url":"https://api.github.com/users/kewinrausch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kewinrausch/subscriptions","organizations_url":"https://api.github.com/users/kewinrausch/orgs","repos_url":"https://api.github.com/users/kewinrausch/repos","events_url":"https://api.github.com/users/kewinrausch/events{/privacy}","received_events_url":"https://api.github.com/users/kewinrausch/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"miqueltarzan","id":3428055,"avatar_url":"https://avatars.githubusercontent.com/u/3428055?v=3","gravatar_id":"","url":"https://api.github.com/users/miqueltarzan","html_url":"https://github.com/miqueltarzan","followers_url":"https://api.github.com/users/miqueltarzan/followers","following_url":"https://api.github.com/users/miqueltarzan/following{/other_user}","gists_url":"https://api.github.com/users/miqueltarzan/gists{/gist_id}","starred_url":"https://api.github.com/users/miqueltarzan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/miqueltarzan/subscriptions","organizations_url":"https://api.github.com/users/miqueltarzan/orgs","repos_url":"https://api.github.com/users/miqueltarzan/repos","events_url":"https://api.github.com/users/miqueltarzan/events{/privacy}","received_events_url":"https://api.github.com/users/miqueltarzan/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2015-02-10T14:04:03Z","updated_at":"2015-02-10T14:04:07Z","closed_at":null,"body":"<a href=\"https://github.com/sandervrijders\"><img src=\"https://avatars.githubusercontent.com/u/1212456?v=3\" align=\"left\" width=\"96\" height=\"96\" hspace=\"10\"></img></a> **Issue by [sandervrijders](https://github.com/sandervrijders)**\n_Tuesday Nov 05, 2013 at 10:08 GMT_\n_Originally opened as https://github.com/dana-i2cat/irati/issues/185_\n\n----\n\n[  591.802031] rina-rnl-utils: Sent NL unicast msg of type 21 with seq num 1383645316 to 1\r\n[  591.802032] rina-rnl: Message 20 handled successfully\r\n[  591.804998] rina-kfa: Woken up\r\n[  591.805017] rina-kfa: There is no flow bound to port-id 1 anymore\r\n[  591.805030] rina-kipcm: Failed to read sdu\r\n[  591.805043] rina-syscalls: Personality returned value -1\r\n[ 1115.442095] =============================================================================\r\n[ 1115.443372] BUG kmalloc-64 (Not tainted): Poison overwritten\r\n[ 1115.444156] -----------------------------------------------------------------------------\r\n[ 1115.444156] \r\n[ 1115.444934] Disabling lock debugging due to kernel taint\r\n[ 1115.444934] INFO: 0xf323c6ac-0xf323c6b7. First byte 0x6d instead of 0x6b\r\n[ 1115.444934] INFO: Allocated in kzalloc+0xb/0x10 age=136745 cpu=0 pid=0\r\n[ 1115.444934] \t__slab_alloc.constprop.74+0x349/0x393\r\n[ 1115.444934] \t__kmalloc+0x17a/0x1b0\r\n[ 1115.444934] \tkzalloc+0xb/0x10\r\n[ 1115.444934] \tgeneric_alloc+0x23/0x60\r\n[ 1115.444934] \trkzalloc+0x16/0x20\r\n[ 1115.444934] \tkfa_flow_create+0x54/0xf0 [rina_personality_default]\r\n[ 1115.444934] \teth_vlan_rcv+0x311/0x4a0 [shim_eth_vlan]\r\n[ 1115.444934] \t__netif_receive_skb_core+0x553/0x6a0\r\n[ 1115.444934] \t__netif_receive_skb+0x1d/0x60\r\n[ 1115.444934] \tnetif_receive_skb+0x1f/0x80\r\n[ 1115.444934] \tpcnet32_poll+0x29a/0x780 [pcnet32]\r\n[ 1115.444934] \tnet_rx_action+0xf5/0x1e0\r\n[ 1115.444934] \t__do_softirq+0xa9/0x200\r\n[ 1115.444934] \tirq_exit+0x6e/0x90\r\n[ 1115.444934] \tdo_IRQ+0x4b/0xc0\r\n[ 1115.444934] \tcommon_interrupt+0x33/0x38\r\n[ 1115.444934] INFO: Freed in rkfree+0x11/0x20 age=136460 cpu=0 pid=2766\r\n[ 1115.444934] \t__slab_free+0x37/0x258\r\n[ 1115.444934] \tkfree+0x104/0x150\r\n[ 1115.444934] \trkfree+0x11/0x20\r\n[ 1115.444934] \tkfa_flow_destroy+0x4c/0xe0 [rina_personality_default]\r\n[ 1115.444934] \tkfa_flow_unbind_and_destroy+0x34/0x80 [rina_personality_default]\r\n[ 1115.444934] \teth_vlan_flow_deallocate+0x29/0x78 [shim_eth_vlan]\r\n[ 1115.444934] \tnotify_ipcp_deallocate_flow_request+0xac/0x210 [rina_personality_default]\r\n[ 1115.444934] \tdispatcher+0x104/0x180\r\n[ 1115.444934] \tgenl_rcv_msg+0x27c/0x2d0\r\n[ 1115.444934] \tnetlink_rcv_skb+0x8e/0xb0\r\n[ 1115.444934] \tgenl_rcv+0x21/0x30\r\n[ 1115.444934] \tnetlink_unicast+0x13b/0x180\r\n[ 1115.444934] \tnetlink_sendmsg+0x20c/0x360\r\n[ 1115.444934] \tsock_sendmsg+0xbe/0xe0\r\n[ 1115.444934] \t___sys_sendmsg+0x262/0x270\r\n[ 1115.444934] \t__sys_sendmsg+0x3e/0x70\r\n[ 1115.444934] INFO: Slab 0xf71e1780 objects=17 used=17 fp=0x  (null) flags=0x31000080\r\n[ 1115.444934] INFO: Object 0xf323c690 @offset=1680 fp=0xf323c1e0\r\n[ 1115.444934] \r\n[ 1115.444934] Bytes b4 f323c680: db 0a 00 00 84 ed 00 00 5a 5a 5a 5a 5a 5a 5a 5a  ........ZZZZZZZZ\r\n[ 1115.444934] Object f323c690: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b  kkkkkkkkkkkkkkkk\r\n[ 1115.444934] Object f323c6a0: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6d 6d 6b 6b  kkkkkkkkkkkkmmkk\r\n[ 1115.444934] Object f323c6b0: b0 c6 23 f3 b0 c6 23 f3 6b 6b 6b 6b 6b 6b 6b 6b  ..#...#.kkkkkkkk\r\n[ 1115.444934] Object f323c6c0: 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b 6b a5  kkkkkkkkkkkkkkk.\r\n[ 1115.444934] Redzone f323c6d0: bb bb bb bb                                      ....\r\n[ 1115.444934] Padding f323c778: 5a 5a 5a 5a 5a 5a 5a 5a                          ZZZZZZZZ\r\n[ 1115.444934] CPU: 0 PID: 2694 Comm: bash Tainted: G    B        3.10.0 #93\r\n[ 1115.444934] Hardware name: innotek GmbH VirtualBox, BIOS VirtualBox 12/01/2006\r\n[ 1115.444934]  f6801b40 f6801b40 f1953c60 c15ad719 f1953c88 c1130c53 c176a928 f323c690\r\n[ 1115.444934]  00000690 f323c1e0 f71e1780 f323c6ac f6801b40 f323c690 f1953cbc c1130dc3\r\n[ 1115.444934]  c176a954 f323c6ac f323c6b7 0000006d 0000006b f71e1780 f323c6b7 f323c6b8\r\n[ 1115.444934] Call Trace:\r\n[ 1115.444934]  [<c15ad719>] dump_stack+0x16/0x18\r\n[ 1115.444934]  [<c1130c53>] print_trailer+0xb3/0x110\r\n[ 1115.444934]  [<c1130dc3>] check_bytes_and_report+0xc3/0x100\r\n[ 1115.444934]  [<c1131beb>] check_object+0x1eb/0x240\r\n[ 1115.444934]  [<c113101d>] ? check_slab+0x6d/0x120\r\n[ 1115.444934]  [<c1130ebb>] ? slab_pad_check.part.45+0x4b/0x140\r\n[ 1115.444934]  [<c15ab262>] alloc_debug_processing+0x53/0xd6\r\n[ 1115.444934]  [<c15aba9f>] __slab_alloc.constprop.74+0x349/0x393\r\n[ 1115.444934]  [<c11bc75e>] ? ext4_htree_store_dirent+0x2e/0x120\r\n[ 1115.444934]  [<c11bc75e>] ? ext4_htree_store_dirent+0x2e/0x120\r\n[ 1115.444934]  [<c11e26a8>] ? ext4fs_dirhash+0xb8/0x270\r\n[ 1115.444934]  [<c113316a>] __kmalloc+0x17a/0x1b0\r\n[ 1115.444934]  [<c1095f4d>] ? is_module_text_address+0xd/0x20\r\n[ 1115.444934]  [<c11e2470>] ? ext4_follow_link+0x20/0x20\r\n[ 1115.444934]  [<c11bc75e>] ? ext4_htree_store_dirent+0x2e/0x120\r\n[ 1115.444934]  [<c11bc75e>] ext4_htree_store_dirent+0x2e/0x120\r\n[ 1115.444934]  [<c11cb976>] htree_dirblock_to_tree+0x136/0x190\r\n[ 1115.444934]  [<c11cc173>] ext4_htree_fill_tree+0xb3/0x220\r\n[ 1115.444934]  [<c1132d22>] ? kmem_cache_alloc_trace+0xa2/0x160\r\n[ 1115.444934]  [<c11bbfce>] ext4_readdir+0x12e/0x850\r\n[ 1115.444934]  [<c111ba5e>] ? vma_adjust+0x22e/0x6c0\r\n[ 1115.444934]  [<c1118dc6>] ? handle_mm_fault+0x156/0x220\r\n[ 1115.444934]  [<c114e940>] ? SyS_ioctl+0xa0/0xa0\r\n[ 1115.444934]  [<c124ef80>] ? security_file_permission+0x90/0xb0\r\n[ 1115.444934]  [<c114e940>] ? SyS_ioctl+0xa0/0xa0\r\n[ 1115.444934]  [<c114ecc5>] vfs_readdir+0xa5/0xd0\r\n[ 1115.444934]  [<c114eec9>] SyS_getdents64+0x79/0xe0\r\n[ 1115.444934]  [<c15bafa1>] sysenter_do_call+0x12/0x22\r\n[ 1115.444934] FIX kmalloc-64: Restoring 0xf323c6ac-0xf323c6b7=0x6b\r\n[ 1115.444934] \r\n[ 1115.444934] FIX kmalloc-64: Marking all objects used\r\n[ 1135.045837] rina-rnl-utils: Result of genlmesg_end: 32\r\n[ 1135.045871] rina-rnl-utils: Sent NL unicast msg of type 28 with seq num 0 to 1\r\n[ 1135.124576] rina-rnl-utils: Result of genlmesg_end: 32\r\n[ 1135.124608] rina-rnl-utils: Sent NL unicast msg of type 28 with seq num 0 to 1\r\n[ 1145.786704] rina-rnl-utils: Result of genlmesg_end: 32\r\n[ 1145.786782] rina-rnl-utils: Sent NL unicast msg of type 28 with seq num 0 to 1\r\n[ 1145.795886] rina-rnl-utils: Result of genlmesg_end: 32\r\n[ 1145.795947] rina-rnl-utils: Sent NL unicast msg of type 28 with seq num 0 to 1\r\n[ 1156.619310] rina-rnl-utils: Result of genlmesg_end: 32\r\n[ 1156.619380] rina-rnl-utils: Sent NL unicast msg of type 28 with seq num 0 to 1\r\n[ 1156.627333] rina-rnl-utils: Result of genlmesg_end: 32\r\n[ 1156.627362] rina-rnl-utils: Sent NL unicast msg of type 28 with seq num 0 to 1\r\n\n"},"comment":{"url":"https://api.github.com/repos/kewinrausch/Test/issues/comments/73703577","html_url":"https://github.com/kewinrausch/Test/issues/185#issuecomment-73703577","issue_url":"https://api.github.com/repos/kewinrausch/Test/issues/185","id":73703577,"user":{"login":"kewinrausch","id":8994703,"avatar_url":"https://avatars.githubusercontent.com/u/8994703?v=3","gravatar_id":"","url":"https://api.github.com/users/kewinrausch","html_url":"https://github.com/kewinrausch","followers_url":"https://api.github.com/users/kewinrausch/followers","following_url":"https://api.github.com/users/kewinrausch/following{/other_user}","gists_url":"https://api.github.com/users/kewinrausch/gists{/gist_id}","starred_url":"https://api.github.com/users/kewinrausch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kewinrausch/subscriptions","organizations_url":"https://api.github.com/users/kewinrausch/orgs","repos_url":"https://api.github.com/users/kewinrausch/repos","events_url":"https://api.github.com/users/kewinrausch/events{/privacy}","received_events_url":"https://api.github.com/users/kewinrausch/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T14:04:07Z","updated_at":"2015-02-10T14:04:07Z","body":"<a href=\"https://github.com/edugrasa\"><img src=\"https://avatars.githubusercontent.com/u/325005?v=3\" align=\"left\" width=\"48\" height=\"48\" hspace=\"10\"></img></a> **Comment by [edugrasa](https://github.com/edugrasa)**\n_Tuesday Nov 05, 2013 at 12:39 GMT_\n\n----\n\n> Read fails since flow is deallocated. Kernel doesn't like it.\r\n\r\nThe issue is that kfa_flow_destroy is interrupted because a new Ethernet frame arrived, which results in a new flow allocaiton attempt, which calls kfa_flow_create, which fails when trying to allocate memory for the flow data structure\n"}}