aboutsummaryrefslogtreecommitdiffstats
path: root/net/nfc
AgeCommit message (Expand)AuthorFilesLines
2024-04-09nfc: llcp: fix nfc_llcp_setsockopt() unsafe copiesEric Dumazet1-6/+6
2024-03-22nfc: nci: Fix uninit-value in nci_dev_up and nci_ntf_packetRyosuke Yasuoka1-0/+5
2024-03-05nfc: core: make nfc_class constantRicardo B. Marliere1-1/+1
2024-02-06nfc: hci: Save a few bytes of memory when registering a 'nfc_llc' engineChristophe JAILLET1-2/+2
2024-02-06nfc: hci: Introduce nfc_llc_del_engine() to reduce code duplicationChristophe JAILLET1-8/+10
2024-01-29nfc: nci: free rx_data_reassembly skb on NCI device cleanupFedor Pchelkin1-0/+4
2024-01-11net: fill in MODULE_DESCRIPTION()s for NFCBreno Leitao3-0/+3
2023-12-25nfc: Do not send datagram if socket state isn't LLCP_BOUNDSiddh Raman Pant1-0/+5
2023-12-25nfc: llcp_core: Hold a ref to llcp_local->dev when holding a ref to llcp_localSiddh Raman Pant1-3/+36
2023-10-16nfc: nci: fix possible NULL pointer dereference in send_acknowledge()Krzysztof Kozlowski1-0/+2
2023-10-12nfc: nci: assert requested protocol is validJeremy Cline1-0/+5
2023-10-10net: nfc: fix races in nfc_llcp_sock_get() and nfc_llcp_sock_get_sn()Eric Dumazet1-18/+12
2023-10-03net: nfc: llcp: Add lock when modifying device listJeremy Cline1-0/+2
2023-09-01Merge tag 'tty-6.6-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/greg...Linus Torvalds1-15/+8
2023-08-15genetlink: use attrs from struct genl_infoJakub Kicinski1-2/+2
2023-08-11tty: ldops: unify to u8Jiri Slaby (SUSE)1-3/+3
2023-08-11tty: use u8 for flagsJiri Slaby (SUSE)1-1/+1
2023-08-11tty: make tty_ldisc_ops::*buf*() hooks operate on size_tJiri Slaby (SUSE)1-1/+1
2023-08-11tty: remove dummy tty_ldisc_ops::poll() implementationsJiri Slaby (SUSE)1-7/+0
2023-08-03net: nfc: remove casts from tty->disc_dataJiri Slaby1-4/+4
2023-06-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski6-24/+77
2023-06-26net: nfc: Fix use-after-free caused by nfc_llcp_find_localLin Ma6-24/+77
2023-05-15nfc: llcp: fix possible use of uninitialized variable in nfc_llcp_send_connect()Krzysztof Kozlowski1-1/+2
2023-03-07nfc: change order inside nfc_se_io error pathFedor Pchelkin1-1/+1
2023-02-26nfc: fix memory leak of se_io context in nfc_genl_se_ioFedor Pchelkin1-0/+4
2023-01-13net: nfc: Fix use-after-free in local_cleanup()Jisoo Jang1-0/+1
2022-12-26nfc: Fix potential resource leaksMiaoqian Lin1-14/+38
2022-12-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+6
2022-12-05NFC: nci: Bounds check struct nfc_target arraysKees Cook1-0/+6
2022-11-29Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-2/+4
2022-11-22NFC: nci: fix memory leak in nci_rx_data_packet()Liu Shixin1-1/+3
2022-11-18nfc/nci: fix race with opening and closingLin Ma1-1/+1
2022-11-02nfc: Add KCOV annotationsDmitry Vyukov3-2/+13
2022-09-27NFC: hci: Split memcpy() of struct hcp_message flexible arrayKees Cook1-7/+5
2022-08-29genetlink: start to validate reserved header bytesJakub Kicinski1-0/+1
2022-05-28net: nfc: Directly use ida_alloc()/free()keliu1-2/+2
2022-05-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-3/+3
2022-05-17NFC: nci: fix sleep in atomic context bugs caused by nci_skb_allocDuoming Zhou2-3/+3
2022-05-05Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-17/+16
2022-05-05NFC: netlink: fix sleep in atomic bug when firmware download timeoutDuoming Zhou1-2/+2
2022-05-01nfc: replace improper check device_is_registered() in netlink related functionsDuoming Zhou1-15/+14
2022-04-15Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netPaolo Abeni1-0/+4
2022-04-13nfc: nci: add flush_workqueue to prevent uafLin Ma1-0/+4
2022-04-13NFC: NULL out the dev->rfkill to prevent UAFLin Ma1-0/+1
2022-04-06net: remove noblock parameter from skb_recv_datagram()Oliver Hartkopp2-4/+2
2022-03-03nfc: llcp: Revert "NFC: Keep socket alive until the DISC PDU is actually sent"Krzysztof Kozlowski3-15/+0
2022-03-03nfc: llcp: protect nfc_llcp_sock_unlink() callsKrzysztof Kozlowski1-5/+5
2022-03-03nfc: llcp: use test_bit()Krzysztof Kozlowski1-1/+1
2022-03-03nfc: llcp: use centralized exiting of bind on errorsKrzysztof Kozlowski1-10/+15
2022-03-03nfc: llcp: simplify llcp_sock_connect() error pathsKrzysztof Kozlowski1-4/+4
2022-03-03nfc: llcp: nullify llcp_sock->dev on connect() error pathsKrzysztof Kozlowski1-0/+1
2022-01-20Merge tag 'net-5.17-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-0/+5
2022-01-19nfc: llcp: fix NULL error pointer dereference on sendmsg() after failed bind()Krzysztof Kozlowski1-0/+5
2021-12-20Merge 5.16-rc6 into tty-nextGreg Kroah-Hartman1-4/+8
2021-12-09nfc: fix potential NULL pointer deref in nfc_genl_dump_ses_doneKrzysztof Kozlowski1-2/+4
2021-12-09nfc: fix segfault in nfc_genl_dump_devices_doneTadeusz Struk1-2/+4
2021-11-25tty: remove file from tty_ldisc_ops::ioctl and compat_ioctlJiri Slaby1-3/+2
2021-11-17NFC: add NCI_UNREG flag to eliminate the raceLin Ma1-2/+17
2021-11-17NFC: reorder the logic in nfc_{un,}register_deviceLin Ma1-14/+18
2021-11-17NFC: reorganize the functions in nci_requestLin Ma1-4/+7
2021-11-11Merge tag 'net-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/net...Linus Torvalds1-0/+15
2021-11-04Merge tag 'tty-5.16-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds1-1/+1
2021-11-03NFC: add necessary privilege flags in netlink layerLin Ma1-0/+15
2021-10-18Merge 5.15-rc6 into tty-nextGreg Kroah-Hartman4-4/+18
2021-10-14Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski4-4/+18
2021-10-13NFC: digital: fix possible memory leak in digital_in_send_sdd_req()Ziyang Xuan1-2/+6
2021-10-13NFC: digital: fix possible memory leak in digital_tg_listen_mdaa()Ziyang Xuan1-2/+7
2021-10-13nfc: fix error handling of nfc_proto_register()Ziyang Xuan1-0/+3
2021-10-11nfc: nci: replace GPLv2 boilerplate with SPDXKrzysztof Kozlowski1-14/+2
2021-10-11nfc: drop unneeded debug printsKrzysztof Kozlowski7-57/+1
2021-10-08nfc: nci: fix the UAF of rf_conn_info objectLin Ma1-0/+2
2021-09-22tty: remove file from n_tty_ioctl_helperJiri Slaby1-1/+1
2021-09-13nfc: do not break pr_debug() call into separate linesKrzysztof Kozlowski1-14/+9
2021-08-13net: in_irq() cleanupChangbin Du1-1/+1
2021-08-02nfc: hci: pass callback data param as pointer in nci_request()Krzysztof Kozlowski2-70/+65
2021-07-30nfc: hci: cleanup unneeded spacesKrzysztof Kozlowski4-14/+14
2021-07-30nfc: nci: constify several pointers to u8, sk_buff and other structsKrzysztof Kozlowski6-97/+110
2021-07-30nfc: constify local pointer variablesKrzysztof Kozlowski3-6/+6
2021-07-30nfc: constify several pointers to u8, char and sk_buffKrzysztof Kozlowski6-53/+61
2021-07-30nfc: hci: annotate nfc_llc_init() as __initKrzysztof Kozlowski1-1/+1
2021-07-30nfc: annotate af_nfc_exit() as __exitKrzysztof Kozlowski1-1/+1
2021-07-25nfc: constify nfc_digital_opsKrzysztof Kozlowski1-1/+1
2021-07-25nfc: constify nfc_llc_opsKrzysztof Kozlowski4-6/+6
2021-07-25nfc: constify nfc_hci_opsKrzysztof Kozlowski1-1/+1
2021-07-25nfc: constify nfc_opsKrzysztof Kozlowski4-4/+4
2021-07-25nfc: constify nfc_hci_gateKrzysztof Kozlowski1-1/+1
2021-07-25nfc: constify pointer to nfc_vendor_cmdKrzysztof Kozlowski1-1/+1
2021-07-25nfc: constify nci_driver_ops (prop_ops and core_ops)Krzysztof Kozlowski1-8/+8
2021-07-25nfc: constify nci_opsKrzysztof Kozlowski1-3/+2
2021-07-25nfc: constify payload argument in nci_send_cmd()Krzysztof Kozlowski1-1/+1
2021-07-05Merge tag 'tty-5.14-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds1-3/+4
2021-06-29net: sock: introduce sk_error_reportAlexander Aring1-1/+1
2021-06-14Merge tag 'v5.13-rc6' into tty-nextGreg Kroah-Hartman1-0/+2
2021-06-07Merge ra.kernel.org:/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-0/+2
2021-06-01NFC: nci: Remove redundant assignment to lenYang Li1-2/+0
2021-05-31nfc: hci: Fix spelling mistakesZheng Yongjun3-3/+3
2021-05-31nfc: fix NULL ptr dereference in llcp_sock_getname() after failed connectKrzysztof Kozlowski1-0/+2
2021-05-31Merge 5.13-rc4 into tty-nextGreg Kroah-Hartman3-1/+7
2021-05-17NFC: nci: fix memory leak in nci_allocate_deviceDongliang Mu2-0/+6
2021-05-13tty: make tty_ldisc_ops a param in tty_unregister_ldiscJiri Slaby1-1/+1
2021-05-13tty: set tty_ldisc_ops::num staticallyJiri Slaby1-1/+2
2021-05-13tty: make fp of tty_ldisc_ops::receive_buf{,2} constJiri Slaby1-1/+1
2021-05-10net/nfc/rawsock.c: fix a permission check bugJeimon1-1/+1
2021-05-04net/nfc: fix use-after-free llcp_sock_bind/connectOr Cohen1-0/+4
2021-04-29Merge tag 'net-next-5.13' of git://git.kernel.org/pub/scm/linux/kernel/git/ne...Linus Torvalds4-5/+7
2021-04-27net:nfc:digital: Fix a double free in digital_tg_recv_dep_reqLv Yunlong1-0/+2
2021-04-26Merge tag 'tty-5.13-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds1-81/+67
2021-04-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-0/+10
2021-04-05net: nfc: Fix spelling errors in net/nfc moduleZheng Yongjun3-4/+4
2021-03-28NFC: digital: Correct function name in the kerneldoc commentsXiongfeng Wang1-1/+1
2021-03-25nfc: Avoid endless loops caused by repeated llcp_sock_connect()Xiaoming Ni1-0/+4
2021-03-25nfc: fix memory leak in llcp_sock_connect()Xiaoming Ni1-0/+2
2021-03-25nfc: fix refcount leak in llcp_sock_connect()Xiaoming Ni1-0/+2
2021-03-25nfc: fix refcount leak in llcp_sock_bind()Xiaoming Ni1-0/+2
2021-03-10net: nfc: nci: drop nci_uart_default_recvJiri Slaby1-10/+0
2021-03-10net: nfc: nci: drop nci_uart_ops::recv_bufJiri Slaby1-69/+67
2021-03-10net: nfc: nci: remove memset of nci_uart_driversJiri Slaby1-1/+0
2021-03-10tty: remove TTY_LDISC_MAGICJiri Slaby1-1/+0
2021-02-20Merge tag 'tty-5.12-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds1-1/+2
2021-01-28Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski2-1/+2
2021-01-27net: remove redundant 'depends on NET'Masahiro Yamada1-1/+0
2021-01-25Merge 5.11-rc5 into tty-nextGreg Kroah-Hartman1-1/+1
2021-01-23NFC: fix resource leak when target index is invalidPan Bian1-1/+1
2021-01-23NFC: fix possible resource leakPan Bian1-0/+1
2021-01-21Merge branch 'tty-splice' of git://git.kernel.org/pub/scm/linux/kernel/git/to...Greg Kroah-Hartman1-1/+2
2021-01-20tty: convert tty_ldisc_ops 'read()' function to take a kernel pointerLinus Torvalds1-1/+2
2021-01-20Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netJakub Kicinski1-1/+1
2021-01-19net: nfc: nci: fix the wrong NCI_CORE_INIT parametersBongsu Jeon1-1/+1
2021-01-15nfc: netlink: use &w->w in nfc_genl_rcv_nl_eventGeliang Tang1-2/+2
2021-01-12hci: llc_shdlc: style: Simplify bool comparisonYANG LI1-1/+1
2021-01-05net: nfc: nci: Change the NCI close sequenceBongsu Jeon1-2/+2
2020-12-08net: sched: fix spelling mistake in Kconfig "trys" -> "tries"Colin Ian King1-1/+1
2020-12-04net/nfc/nci: Support NCI 2.x initial sequenceBongsu Jeon3-16/+104
2020-11-16treewide: rename nla_strlcpy to nla_strscpy.Francis Laniel1-1/+1
2020-11-14nfc: refined function nci_hci_resp_receivedAlex Shi1-6/+3
2020-10-30net: nfc: Fix kerneldoc warningsAndrew Lunn3-1/+14
2020-10-20nfc: Ensure presence of NFC_ATTR_FIRMWARE_NAME attribute in nfc_genl_fw_downl...Defang Bo1-1/+1
2020-09-05NFC: digital: Remove two unused macroesWang Hai1-3/+0
2020-08-11net/nfc/rawsock.c: add CAP_NET_RAW check.Qingyu Li1-2/+5
2020-07-25Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-1/+4
2020-07-24net: pass a sockptr_t into ->setsockoptChristoph Hellwig1-3/+3
2020-07-19net: make ->{get,set}sockopt in proto_ops optionalChristoph Hellwig2-6/+0
2020-07-17nfc: nci: add missed destroy_workqueue in nci_register_deviceWang Hai1-1/+4
2020-07-13net: nfc: kerneldoc fixesAndrew Lunn2-4/+3
2020-06-14treewide: replace '---help---' in Kconfig files with 'help'Masahiro Yamada1-1/+1
2020-03-12Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller2-3/+20
2020-03-05net: nfc: fix bounds checking bugs on "pipe"Dan Carpenter1-3/+16
2020-03-03nfc: add missing attribute validation for vendor subcommandJakub Kicinski1-0/+2
2020-03-03nfc: add missing attribute validation for deactivate targetJakub Kicinski1-0/+1
2020-03-03nfc: add missing attribute validation for SE APIJakub Kicinski1-0/+1
2020-02-17NFC: digital: Replace zero-length array with flexible-array memberGustavo A. R. Silva1-2/+2
2019-12-18net: nfc: nci: fix a possible sleep-in-atomic-context bug in nci_uart_tty_rec...Jia-Ju Bai1-1/+1
2019-12-04NFC: NCI: use new `delay` structure for SPI transfer delaysAlexandru Ardelean1-2/+4
2019-11-21net: Fix Kconfig indentation, continuedKrzysztof Kozlowski1-7/+7
2019-11-09Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-2/+0
2019-11-07nfc: netlink: fix double device reference dropPan Bian1-2/+0
2019-11-02Merge git://git.kernel.org/pub/scm/linux/kernel/git/netdev/netDavid S. Miller1-2/+2
2019-10-28net: use skb_queue_empty_lockless() in poll() handlersEric Dumazet1-2/+2
2019-10-06net: nfc: have genetlink code to parse the attrs during dumpitJiri Pirko1-12/+5
2019-10-04nfc: fix memory leak in llcp_sock_bind()Eric Dumazet1-1/+6
2019-09-24nfc: enforce CAP_NET_RAW for raw socketsOri Nimron1-2/+5
2019-07-29NFC: fix attrs checks in netlink interfaceAndrey Konovalov1-2/+4
2019-07-08nfc: fix potential illegal memory accessYang Wei1-1/+1
2019-06-21Merge tag 'spdx-5.2-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/gre...Linus Torvalds6-78/+6
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 234Thomas Gleixner6-78/+6
2019-06-17Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netLinus Torvalds1-1/+2
2019-06-14nfc: Ensure presence of required attributes in the deactivate_target handlerYoung Xiao1-1/+2
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 399Thomas Gleixner4-48/+4
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 335Thomas Gleixner1-14/+1
2019-06-05treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 288Thomas Gleixner4-40/+4
2019-05-21treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 13Thomas Gleixner13-169/+13
2019-05-21treewide: Add SPDX license identifier - Makefile/KconfigThomas Gleixner4-0/+4
2019-04-27genetlink: optionally validate strictly/dumpsJohannes Berg1-0/+19
2019-04-27netlink: make validation more configurable for future strictnessJohannes Berg1-5/+7
2019-04-27netlink: make nla_nest_start() add NLA_F_NESTED flagMichal Kubecek1-2/+2
2019-04-08Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+8
2019-04-06NFC: nci: Add some bounds checking in nci_hci_cmd_received()Dan Carpenter1-0/+8
2019-03-27Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-2/+7
2019-03-22genetlink: make policy common to familyJohannes Berg1-19/+1
2019-03-19nfc: Fix to check for kmemdup failureAditya Pakki1-2/+7
2019-02-27net: nfc: Fix NULL dereference on nfc_llcp_build_tlv failsYueHaibing2-4/+40
2018-10-24Merge branch 'work.tty-ioctl' of git://git.kernel.org/pub/scm/linux/kernel/gi...Linus Torvalds1-0/+1
2018-10-23Revert "net: simplify sock_poll_wait"Karsten Graul1-1/+1
2018-10-13change semantics of ldisc ->compat_ioctl()Al Viro1-0/+1
2018-09-25Merge ra.kernel.org:/pub/scm/linux/kernel/git/davem/netDavid S. Miller1-0/+10
2018-09-21net: nci: remove redundant null pointer check before kfree_skbzhong jiang1-4/+2
2018-09-18NFC: Fix possible memory corruption when handling SHDLC I-Frame commandsSuren Baghdasaryan1-0/+10
2018-07-30net: simplify sock_poll_waitChristoph Hellwig1-1/+1
2018-07-18net/nfc: Avoid stalls when nfc_alloc_send_skb() returned NULL.Tetsuo Handa1-3/+6
2018-06-28Revert changes to convert to ->poll_mask() and aio IOCB_CMD_POLLLinus Torvalds2-5/+8
2018-06-06Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-nextLinus Torvalds1-17/+0
2018-05-29net: remove unnecessary genlmsg_cancel() callsYueHaibing1-17/+0
2018-05-26net/nfc: convert to ->poll_maskChristoph Hellwig1-6/+3
2018-05-26net: convert datagram_poll users tp ->poll_maskChristoph Hellwig1-2/+2
2018-02-19Merge git://git.kernel.org/pub/scm/linux/kernel/git/davem/netDavid S. Miller2-1/+6
2018-02-16NFC: llcp: Limit size of SDP URIKees Cook2-1/+6
2018-02-12net: make getname() functions return length rather than use int* parameterDenys Vlasenko1-3/+2
2018-02-11vfs: do bulk POLL* -> EPOLL* replacementLinus Torvalds1-8/+8
2017-11-27net: annotate ->poll() instancesAl Viro2-4/+4
2017-11-21treewide: setup_timer() -> timer_setup()Kees Cook1-8/+6