diff
6   skb = nlmsg_new(NLMSG_ALIGN(sizeof(struct ifaddrmsg)) +
+   size_t additional_size = /* some size calculation */;
+   size_t total_size;
+   if (__builtin_add_overflow(NLMSG_ALIGN(sizeof(struct ifaddrmsg)), additional_size, &total_size)) {
+       /* Handle overflow: log, return, or take corrective action */
+   }
+   skb = nlmsg_new(total_size,
